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 Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

51 views 0 3
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
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