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

0 vote

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.

Cheers,

Clarissa.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

143 views 0 2
Read article

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