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 11:40] root |
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:// | ||
==== Drop Down Values based on Transitions ==== | ==== Drop Down Values based on Transitions ==== | ||
+ | Create this as an initialiser. | ||
<code java> | <code java> | ||
import com.atlassian.jira.component.ComponentAccessor | import com.atlassian.jira.component.ComponentAccessor | ||
Line 62: | Line 52: | ||
// Set the values inside the select list field | // Set the values inside the select list field | ||
- | def noneMap = [null: " | + | def noneMap = [" |
Line 104: | Line 94: | ||
</ | </ | ||
+ | References: | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ |