Touch parent when a subtask gets touched

Is there a more eloquent way to achieve this (see title above) as a Cloud customer? Since the parent's 'Updated' field does not get touched when a subtask is touched, I've klujed this which allows me to listen to parents for changes made based on state changes down below on subtasks, and use this trigger to perform other post processing I'm doing with the data outside of JIRA through other integrations I've built.

  1. Create custom field of type, Date/Time Picker, and call it "Check".
  2. Add the new "Check" field to all parent issues and subtasks.
  3. Modify all transitions in all workflows to include (in this order):
    1. inserting a post function that sets the current date/time (%%CURRENT_DATETIME%%) on the "Check" field on the current subtask.
    2. inserting a post function that copies the value of "Check" field to the parent's "Check" field.

1 answer

Hi Paul,

I believe that's pretty much the only way to achieve that. As a possible alternative, you might want to use the post function that transitions the parent issue, that would change the 'Updated' field in the parent issue. Please see Moving a Sub-Task to In Progress does not Transition its Parent's to the Same Status for more details about this.

Hope this helps.



Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,323 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot