This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
script_fields [2019/02/13 16:11] root [Return user that made last change on field "testRadio"] |
script_fields [2019/07/11 09:28] (current) root |
||
|---|---|---|---|
| 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. | ||