Can archive of issue be done via automation?

Ari Raatikainen
Contributor
December 31, 2024

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?

3 answers

2 accepted

3 votes
Answer accepted
Aaron Pavez _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2024

Hi @Ari Raatikainen 

Sadly no. There is no ARCHIVE function in automation. 

This can be done through API though:

https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-archive-put

Regards

Aaron

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2024

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.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 31, 2024

Hi @Jack Brickey 

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

Like # people like this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 1, 2025

Ha! That might explain why I could not access. 😉

1 vote
Answer accepted
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 31, 2024

@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.

0 votes
Ari Raatikainen
Contributor
January 1, 2025

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events