Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Context parameters for Groovy Scripts

Variable NameDescription
asset

Access AIP asset class instance. Only valid for Default Groovy Script and Attribute Groovey Script

issue

Access current issue. Instance of com.atlassian.jira.issue.Issue. see https://docs.atlassian.com/software/jira/docs/api/7.6.1/index.html?com/atlassian/jira/issue/Issue.html

ComponentAccessorAccess JIRA componenets. See https://docs.atlassian.com/software/jira/docs/api/7.6.1/index.html?com/atlassian/jira/component/ComponentAccessor.html
customFieldManagerAccess JIRA Custom Field Manager class. See https://docs.atlassian.com/software/jira/docs/api/7.6.1/index.html?com/atlassian/jira/issue/CustomFieldManager.html
loggedInUser

ApplicationUser instance for current logged in user. See https://docs.atlassian.com/software/jira/docs/api/7.6.1/index.html?com/atlassian/jira/user/ApplicationUser.html

 

Sample Post Function configuration page

...