Skip to main content
Example scripts
arrow icon
To homepage
Jira
Data centre icon
Data Center

Automate the Creation of a Jira Service Management Issue in Jira

Created 1 year ago, Updated 5 month(s) ago
App in script
ScriptRunner For Jira
ScriptRunner For Jira
by Adaptavist
Compatibility
compatibility bullet
Jira (8.0 - 8.19)
compatibility bullet
ScriptRunner For Jira (7.10.0)
Language |
groovy
// By default this is all you need to specify
Issues.create('JSM', 'IT Help') {
    setSummary('Please help!')
}

// and an example setting more fields
Issues.create('JSM', 'IT Help') {
    setSummary('Need more help!')
    setDescription('a longer description')
    setRequestType('Computer support')
    setRequestChannel('api')
    setRequestParticipants(Users.loggedInUser)
    setOrganizations('My Org', 'My Other Org')
}
Having an issue with this script?
Report it here