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

Perform a JQL Search in ScriptRunner for Jira

Created 1 year ago, Updated 3 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
Issues.search('project = SR and reporter = currentUser()').each { issue ->
    // do something with `issue`
}

// if you just need a count use `.count()
Issues.count('project = SR and reporter = currentUser()')
Having an issue with this script?
Report it here