java.lang.Object | ||
↳ | com.atlassian.jira.bc.subtask.conversion.DefaultIssueConversionService | |
↳ | com.atlassian.jira.bc.subtask.conversion.DefaultIssueToSubTaskConversionService |
Default implementation of IssueToSubTaskConversionService
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
As per the
IssueToSubTaskConversionService interface. | |||||||||||
Allows for a plugin point to extra updates specific to that sub class
| |||||||||||
Validates the given parent issue key for issue key.
| |||||||||||
Validates that the issue can be converted to given issue type.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
For an issue to subtask conversion, we can safely ignore the issue security field since the subtask
will always take the security level of the parent issue.
| |||||||||||
Returns a String as a result of toString() call or null if aLong was null.
| |||||||||||
Returns true if id1 is not null and not equal to id2, false otherwise.
| |||||||||||
Returns true if given project has sub-task Issue Types in its Issue Type scheme
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
As per the IssueToSubTaskConversionService
interface.
context | JIRA Service Context |
---|---|
issue | issue to convert |
IllegalArgumentException | if context or issue is null |
---|
Allows for a plugin point to extra updates specific to that sub class
context | jira service context |
---|---|
changeHolder | holds all the change items |
currentIssue | original issue with no updates |
targetIssue | target issue with all fields updated |
Validates the given parent issue key for issue key. Any errors are communicated back via error collection in the context.
context | jira service context |
---|---|
issue | issue to convert |
parentIssue | possible parrent issue to check |
fieldNameParentIssueKey | form field name of the parrent issue key |
Validates that the issue can be converted to given issue type. Any errors are communicated back via error collection in the context.
context | jira service context |
---|---|
issue | issue to convert |
issueType | target issue type |
fieldNameIssueTypeId | form field name of the issue type id |
For an issue to subtask conversion, we can safely ignore the issue security field since the subtask will always take the security level of the parent issue.
Returns a String as a result of toString() call or null if aLong was null.
aLong | long |
---|
Returns true if id1 is not null and not equal to id2, false otherwise.
id1 | id1 |
---|---|
id2 | id2 |
Returns true if given project has sub-task Issue Types in its Issue Type scheme
project | to to test |
---|