In an scripted Insight workflow function you have some groovy variables predefined to use:
| 変数 | 説明 |
|---|---|
| 課題 | The issue to be transitioned |
| originalIssue | The original issue. You may check conditions like if the assignee is changed by: issue.assignee != originalIssue.assignee |
| 現在のユーザー | The current JIRA User. You may check if the reporter is the current user by: currentUser == issue.reporter |
log | A log framework. You may log to atlassian-jira.log by: log.warn("This is a warning!");
|
例
Read about groovy examples here