com.atlassian.jira.config.SubTaskManager |
![]() |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Manages SubTasks - issues that are "part of" other issues.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | SUB_TASK_ISSUE_TYPE_STYLE | ||||||||||
String | SUB_TASK_LINK_TYPE_INWARD_NAME | ||||||||||
String | SUB_TASK_LINK_TYPE_NAME | ||||||||||
String | SUB_TASK_LINK_TYPE_OUTWARD_NAME | ||||||||||
String | SUB_TASK_LINK_TYPE_STYLE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Change the parent of the given subtask to the given new parent on behalf
of the given user.
| |||||||||||
Enables sub-tasks on the instance.
| |||||||||||
Enables sub-tasks on the instance.
| |||||||||||
This method is deprecated.
Use
getParentIssueId(Issue) instead. Since v6.4.
| |||||||||||
Returns the parent issue ID of this the given issue.
| |||||||||||
Returns the parent issue ID of this the given issue.
| |||||||||||
Returns the SubTaskBean for the given parent issue in the context of the given user.
| |||||||||||
Returns a list of issue links associated with the issue
| |||||||||||
Returns the SubTask IssueType with the given ID.
| |||||||||||
This method is deprecated.
Use
getSubTaskIssueType(String) instead. Since v5.0.
| |||||||||||
Retrieves all the sub-task issue types
| |||||||||||
Create new issue type and adds it to default scheme.
| |||||||||||
This method is deprecated.
Use
insertSubTaskIssueType(String, Long, String, Long) since v6.3.
| |||||||||||
Return true if the given issue is a subtask.
| |||||||||||
This method is deprecated.
Use
updateSubTaskIssueType(String, String, Long, String, Long) instead. Since v6.3.
| |||||||||||
Update existing sub-task issue type.
|
Change the parent of the given subtask to the given new parent on behalf of the given user.
subTask | The SubTask |
---|---|
parentIssue | The parent Issue |
currentUser | The user |
RemoveException | if there's a problem unlinking original parent. |
---|---|
CreateException | if there's a problem linking new parent. |
CreateException |
---|
Enables sub-tasks on the instance. If there are no sub-task issue types present, then the default sub-task issue type will be created.
CreateException | if the default sub-task issue type creation failed. |
---|
Enables sub-tasks on the instance.
createDefaultIfMissing | if true and there are no sub-task issue types present, then the default
sub-task issue type will be created. |
---|
CreateException | if the default sub-task issue type creation failed. |
---|
This method is deprecated.
Use getParentIssueId(Issue)
instead. Since v6.4.
Returns the parent issue ID of this the given issue. Will return null if the given issue is not a subtask.
issue | the issue |
---|
Returns the parent issue ID of this the given issue. Will return null if the given issue is not a subtask.
issue | the issue |
---|
Returns the parent issue ID of this the given issue. Will return null if the given issue is not a subtask.
issueId | the issue ID of the subtask |
---|
Returns the SubTaskBean for the given parent issue in the context of the given user.
issue | the Issue |
---|---|
remoteUser | the user |
Returns a list of issue links associated with the issue
issueId | issue id |
---|
Returns the SubTask IssueType with the given ID.
id | the ID |
---|
This method is deprecated.
Use getSubTaskIssueType(String)
instead. Since v5.0.
Returns the SubTask IssueType with the given ID.
id | the ID |
---|
Retrieves all the sub-task issue types
IssueType
s.Create new issue type and adds it to default scheme.
CreateException |
---|
This method is deprecated.
Use insertSubTaskIssueType(String, Long, String, Long)
since v6.3.
Create new issue type and adds it to default scheme.
CreateException |
---|
Return true if the given issue is a subtask.
issue | the issue |
---|
This method is deprecated.
Use updateSubTaskIssueType(String, String, Long, String, Long)
instead. Since v6.3.
DataAccessException |
---|
Update existing sub-task issue type.
DataAccessException |
---|