Example scripts
To homepage
Jira

Bulk Update Multiple Issue Resolutions
App in script

ScriptRunner For Jira
by Adaptavist
Compatibility

Jira
Language |
groovy
// The Name of the resolution to be set
def resolutionName = 'Cannot Reproduce'
// Get all issues matching the specified JQL Query
Issues.search("project = TEST AND issueType = Bug").each { issue ->
issue.transition('Done') {
setResolution(resolutionName)
}
logger.info("Resolution set to ${resolutionName} for the ${issue.key} issue")
}
Having an issue with this script?
Report it here