post_functions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| post_functions [2018/04/20 10:09] – post function on clone issue script root | post_functions [2026/02/01 12:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 122: | Line 122: | ||
| UserMessageUtil.success(' | UserMessageUtil.success(' | ||
| + | </ | ||
| + | |||
| + | === Update Select List (Drop Down) field Status with value Waiting Approval === | ||
| + | |||
| + | <code java> | ||
| + | import com.atlassian.jira.component.ComponentAccessor | ||
| + | def cfSelect = ComponentAccessor.customFieldManager.getCustomFieldObjectByName(" | ||
| + | def cfConfig = cfSelect.getRelevantConfig(issue) | ||
| + | def value = ComponentAccessor.optionsManager.getOptions(cfConfig)? | ||
| + | it.toString() == ' | ||
| + | } | ||
| + | issue.setCustomFieldValue(cfSelect, | ||
| </ | </ | ||
post_functions.1524233361.txt.gz · Last modified: (external edit)
