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.
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\" "
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events