Is it possible to trigger an event when an issue is create / linked to a parent

Our use case is as follows.

  1. User wants to create a bug from a support issue.
  2. He clicks on the operation 'create bug from support issue'
  3. JIRA brings up the create bug screen
  4. User edits the bug and adds to the description, changes components, version information and so on
  5. User hits create
  6. The newly created issue is linked to the parent issue
  7. The parent issue is progressed into status 'In progress on other issue'

What is the best approach to implement this use case ?

  • When we use the postfunction, we didn't find a way to display the create form allowing the user to modify some of the fields of the newly issue
  • When we use the operation, we don't find a way to transition the parent

2 answers

Extends AbstractIssueEventListener and implements methods of that abstract class.

after that add your fully quilified class name in Admin>>Listener.

This makes sense if the operation generates an event.

You can create a customized clone action specifically for this case using Clone Plus Plugin for JIRA

Hi Bob,

How do you configure the clone plus plugin to trigger a transition on the source issue ?


It is not a transition, its an action from the actions list. You can condition when it shows up (for example for specific status). The workflow transition would be a separate step.

What I'm looking for is that the parent is transitioned once the clone is created. If the user cancels, then no transition should happen (so it is not a post-function)

I don't know how that can be done without adding a feature request for the clone plugin to support that scenario.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

478 views 8 28
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