JEMH Transition linked issues post function clone operation

I am using "Transition Linked issues" post function using JEMH add-on. 

I am cloning a bug (converting to user story) and then closing the bug. As soon as user story is cloned/created , the post function for transitioning the bug to closed state should execute. But somehow it does not seem to work.  I placed the post function in user story workflow (on CREATE) after all functions .

Any help?

 

Thanks,

Swathi

1 answer

Oops, that's a typo. Its not JEMH, it is JMWE :)

 

Also, here is the solution from JMWE support team : 

 

It is not working because JIRA creates issue links after the Create transition finishes. It can't work as the link between the newly created issue and the current issue is created only after the Create transition completes. The solution is to:

  1. Create a hidden (Hide it using "Hide transition" condition of JMWE) auto-transition, say "Auto", from the Open status to itself.
  2. Add the Transition linked issues post-function to it, to trigger the transition "Close" on linked issues with link type "clones" (not "is cloned by")
  3. On the Create transition add the Transition issue post-function, to trigger the "Auto" transition (delete the existing Transition linked issues post-function). Move it to the end of the list
  4. Publish the workflow and clone the Bug as a Story.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

11,956 views 15 13
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