Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Remove fix version and Parent when cancelling the issue

Ramesh Krishnan
Contributor
March 20, 2026

Do we have automation script for removing fix version and Parent when cancelling the issue. i have script for removing assignee, sprint , team and story points. i have added parent and fix version same way, but it didnt work out.

3 answers

0 votes
Mangali Chandrashekar
March 22, 2026

Hi, you can do this by using Jira automation. Once try below:

  1. Trigger → Issue Transitioned → To = Cancelled
  2. Condition 1 → Issue Type = Story
  3. Condition 2 → Parent exists (use “Parent is not empty” or “Issue has parent”)
  4. Action → Edit Issue → Clear Fix Version/s and Parent
  5. Save and test.
0 votes
Enric Font
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 Champions.
March 20, 2026

Dear @Ramesh Krishnan 

You can remove both Fix Versions and Parent using the Edit Issue action in your automation rule by enabling advanced field editing.

Use the following JSON:

{
"fields": {
"fixVersions": [],
"customfield_XXXXX": ""
}
}

Make sure to replace customfield_XXXXX with the actual ID of your Parent Link field.

Ramesh Krishnan
Contributor
March 20, 2026

i tried below json, but it didnt work out. 

{
"fields": {
"fixVersions": [],
"customfield_10014": ""
}
}

 

Note: customfield_10014 is Parent

0 votes
Arkadiusz Wroblewski
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 Champions.
March 20, 2026

Hello @Ramesh Krishnan 

Fix Version: yes, easy with automation.
Parent: maybe, but first confirm whether you mean normal Parent/Epic parent or Parent Link, because those are not the same thing.

Ramesh Krishnan
Contributor
March 20, 2026

My parent is epic and child is story.  i would like to remove fix version and parent(epic) for cancelled stories.

Arkadiusz Wroblewski
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 Champions.
March 20, 2026

@Enric Font 

Gived you already good Advice so Kudos for him :)

Suggest an answer

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

Atlassian Community Events