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
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,482 views 10 12
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