Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Automation to remove fix version from child issue IF removed from parent Epic

Note that my epics are in a different project from the child stories. I have the exact same named version created in both projects. I have successfully created an automation that adds the fix version to the child story if a fix version is added to the parent epic.

New requirement: if I remove a fix version from the parent Epic I want to remove that exact same fix version from the child issue. There may be other fix versions on the parent and child that need to remain untouched, this needs to only work if the scenario is that the exact same fix version (by name at least) is set on the child as is removed from the parent Epic.

 

Any help is greatly appreciated.

1 answer

Hi @John Carson 

Fix Version is a list field, and unfortunately there is no single item remove function for lists in automation yet.

I was able to make a work-around for this by converting a list to a string, removing the target item, and then converting back to a list.  My example is for the Component field.  Please take a look here if you want to try it:

https://community.atlassian.com/t5/Jira-Software-questions/how-to-delete-specific-issue-components-using-automation-for/qaq-p/1534864

Best regards,

Bill

@Bill Sheboythank you very much for your attention to this. I will play with your proposed workaround today!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,869 views 10 23
Read article

Community Events

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

Events near you