@com.adaptavist.hapi.cloud.analytics.CloudTracked class IssueTransitionDelegate extends AbstractCommentableIssueDelegate<java.util.Map<java.lang.String, com.atlassian.jira.rest.clientv2.model.FieldMetadata>, com.atlassian.jira.rest.clientv2.model.FieldMetadata>
A delegate for managing transitions to an existing issue in Jira Cloud.
This class provides a structured way to transition an issue and update its fields during the transition.
Example Usage:
Issues.getByKey('TEST-123').transition("Done") {
summary = 'Updated summary';
setComment('This is a new comment on the issue.');
}
You can interact with issue metadata, modify standard or custom fields, and add comments as part of the transition operation.
| Constructor and description |
|---|
IssueTransitionDelegate(java.lang.String issueKey, Issue originalIssue) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.Map<java.lang.String, com.atlassian.jira.rest.clientv2.model.FieldMetadata> |
getMetaDatas() |
|
void |
setSkipScreenCheck(boolean skip)Sets whether to skip screen security checks when setting custom field values. |
Sets whether to skip screen security checks when setting custom field values.
Note: This method is provided for backward compatibility only. In the cloud implementation, screen security cannot be bypassed during issue transitions. This method call will be ignored but won't cause compilation errors for existing scripts.
skip - ignored parameter - maintained for backward compatibility