Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to link the Epic of the current ticket to the new ticket in Create / Clone issue(s) (JMWE app) post-function.

Instructions

  1. Navigate to the intended workflow to make the necessary changes in the edit mode.

  2. Select the required transition.

  3. Select the Post functions tab and click Add post function.

  4. Add the “Create / Clone issue(s) (JMWE app)” post-function.

  5. Fill in the required details.

  6. Select the checkbox “Run a Groovy script after the issue is created” under “Post-creation script” and add the below “Post-creation script:”

    Code Block
    languagegroovy
    if(issue.get("customfield_10000"))
        newIssue.linkIssue("relates to",issue.get("customfield_10000"))

...

With this, when the transition is executed, a new issue is created with the configured details and is linked to the Epic of the current issue.

...

 

References

...