Created
October 29, 2018 14:37
-
-
Save chuikoaleksandr/7f55cdedd4eaefd8713272265a6d8e41 to your computer and use it in GitHub Desktop.
JIRA process approval. MyGroovy + Custom select. All process in 1 workflow status.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.atlassian.jira.component.ComponentAccessor | |
cfNeedApproval = ComponentAccessor.customFieldManager.getCustomFieldObject(10001)//User Picker (multiple users) | |
return (issue.getCustomFieldValue(cfNeedApproval)?:[]).contains(currentUser) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment