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

How to change the Parent Issue, if the Subtask changed?

I want that  ParentIssue (Story) will changed automatically, if the Subtask is changed.

How can I do this?

 

2 answers

with automation you can do it in simple ways.

you can trigger the automation rule when the issue changes (whatever you want to control) and look for linked issues to interact with them

Jack Community Leader Oct 28, 2019

automation is indeed the way to go but will require an addon, e.g. Automation for Jira, Scriptrunner, Power Scripts, etc.

Yes, I was referring to Automation for Jira addon.

@Hasan Atasoy if you have Automation for Jira I could give you the steps, have some solutions similar to what you need.

Yes I have, Jirra Automation.

0 votes
Warren Community Leader Oct 28, 2019

Hi @Hasan Atasoy 

I don't understand your question.

If "what?" changes on a subtask, "what?" should change on the parent?

I mean the chage of Statues. For example if I have finish all Subtasks, so should Story finish automatically.

 

Or if i start a Subtask, so should change the Staus of Story from Open to "in Work".

You need three steps

  1. When: Issue transitioned
  2. Branch rule / related issues

  3. Then: Transition the issue to

automation 1.pngautomation 2.pngautomation 3.pngThis will work nice if the workflows in parents and subtasks are the same, otherwise, the thingcan be a little bit messy because you have to match every status in subtask with the corresponding status in parent.

Also, this works fine with only one subtask or in the case of transitioning from "open" to "in work" (the first subtask to go into work triggers the parent), but it will be more complicated for closing (is the last subtask the one that defines the parent is finished) but in this case jira has an option to close parent when all subtasks are done.

Hope this helps.

Suggest an answer

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

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

973 views 10 25
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