Update priority of cloned issues

Hi,

I want to be able to keep priorities of cloned issues in sync.

Say, i update the priority of an issue; I want to be able to automatically update the priority of its cloned issue (to a value same as that in the issue its cloned from)

What are my options here?

Rahul

1 answer

This widget could not be displayed.

You'll need some code in a listener (I'd use the script runner to do this, as usual)

Your listener will need to 

  • Pick up any event on an issue where you could have changed priority
  • Check that it has changed (no point running more code if it has not)
  • Run JQL to get a list of the clones
  • For each clone, change priority
  • I'd recommend commenting on them to say "priority changed because priority on other issue was changed"

There are a number of problems with doing this though:

  • How are you going to identify clones?  It's fine if they still have the "cloned from" link on them, but people can remove those
  • I've assumed this is one way - if someone changes the priority on a cloned issue, I've assumed you don't want that to clobber the original and all the others as well (if it does, you need a slightly different approach to the above because you need to build the list differently, and an extra segment to avoid each change triggering the listener again)
  • Your users may get upset by having someone change their issues without consultation just because another issue is updated.

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

109 views 1 2
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