Dear Sir/Madam,
Does anyone know how to close a resolved issue automatically after a certain time?
It would come in handy for our JIRA project we're doing.
Hard to be explicit as there are many ways to ski this cat.
You can write some external script (say in PHP) to to make a REST call to pull the issues you want to close (you can write you own JQL query to be exactly as you want it) .. loop though the issues and make REST calls to close them. At least i think you can transition an issue via REST.
If you have scriptrunner or are familiar with writing services, this could be done there (that is where I do it). The concept is the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also the automation addon is worth a shot. Jeff - you're right about REST, you can use it to push issues through transitions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using JIRA Command Line Interface (CLI), you can use something like the following in your favorite job scheduler:
jira --action runFromIssueList --jql "status = resolved AND resolutiondate < -1w" --common "--action transitionIssue --issue @issue@ --transition \"Close Issue\" "
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.