how to Archive the subtasks in Jira Automation

Seenivasan K February 20, 2025

 

I worked on a JWM project where I have a dropdown field with three options. When a value is selected, Jira Automation automatically creates corresponding subtasks. However, if an incorrect value is chosen and later corrected, the subtasks for both the incorrect and correct selections remain.

I want to ensure that when the field value is updated, any previously created subtasks associated with the incorrect selection are either archived or deleted before generating new subtasks for the correct selection. Archiving the subtask is highly recommended in my case. Is this possible?

image (15).png

2 answers

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 20, 2025

Hello @Seenivasan K 

Subtasks cannot be Archived separately from their parent issue, so Archiving the subtasks is not an option.

Deleting the issues is not advisable. Once an issue is deleted it is permanently gone and cannot be recovered. While it will be noted in the Audit Log that the issue was deleted, there will not be any information other than the issue key, who deleted it, and when it was deleted.

The best practice is to set it to a "closed/cancelled" status so that there is no loss of data in case a mistake has been made.

Seenivasan K February 20, 2025

Hi @Trudy Claspill 

Thanks for the reply. Are there any add-ons or plugins recommended for this?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 20, 2025

For what, specifically? Not for archiving subtasks.

There are apps available to help track and restore deleted issues. I don't have a recommendation for any one in particular because I have not used any of them.

https://marketplace.atlassian.com/search?query=delete%20issues

And I don't know if the integrate in any way with Automation Rules.

0 votes
Dick
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.
February 21, 2025

Hi @Seenivasan K and @Trudy Claspill 

Would moving the sub-task to a different "ErrorProject" with a single story (immutable key = ErrorProject-1) be a solution to not being able to archive or wanting to delete the obsolete subtask?

Kind regards,

Dick

Suggest an answer

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

Atlassian Community Events