script_fields
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| script_fields [2019/02/13 16:11] – [Return user that made last change on field "testRadio"] root | script_fields [2026/02/01 12:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| </ | </ | ||
| - | ==== Return user that made last change on field " | ||
| - | <code java> | ||
| - | import com.atlassian.jira.component.ComponentAccessor | ||
| - | import static com.atlassian.jira.issue.IssueFieldConstants.* | ||
| - | def changedItem = ComponentAccessor.getChangeHistoryManager().getAllChangeItems(issue)? | ||
| - | |||
| - | return " | ||
| - | </ | ||
| - | Reference: [[https:// | ||
| - | |||
| - | ==== Update field' | ||
| - | <code java> | ||
| - | def resDescField = getFieldByName(" | ||
| - | resDescField.setLabel(" | ||
| - | resDescField.setDescription(" | ||
| - | resDescField.setHelpText(" | ||
| - | </ | ||
| - | Reference: [[https:// | ||
| ==== Drop Down Values based on Transitions ==== | ==== Drop Down Values based on Transitions ==== | ||
| Create this as an initialiser. | Create this as an initialiser. | ||
script_fields.1550092303.txt.gz · Last modified: (external edit)
