Hi,
Archiving issues is available for Premium and Enterprise customers.
Is it possible to automatically archive issues via Jira automation, such as after X days from their resolution?
Sadly no. There is no ARCHIVE function in automation.
This can be done through API though:
Regards
Aaron
I believe this is the issue tracking the limitation https://codebarrel.atlassian.net/browse/AUT-1444 . Unsure if the link is still valid. It was in my collection of past posts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A couple of years ago, customers lost access to the internal, old Codebarrel backlog and blogs.
That suggestion to add a rule action for Archive Issue got copied to the new backlog here: https://jira.atlassian.com/browse/AUTO-1562
Hi Ari,
Here is a how-to article for calling a REST API endpoint from a rule to try using that for the archiving: https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ha! That might explain why I could not access. 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ari Raatikainen A fellow community member asked pretty much the same, and he managed to implement an automation rule that calls the corresponding REST API end-point (based on my tip, to be honest).
He posted his rule here: https://community.atlassian.com/t5/Jira-questions/When-we-ll-be-able-to-archive-a-ticket-with-automations-rules/qaq-p/2895053
It is not 100% what you want, but the solution for the hardest part is clearly visible there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all for great tips. I found out there is also rest api request to archive up to 100,000 issues in a single request using JQL, see The Jira Cloud platform REST API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.