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
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 May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,032 views 7 18
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