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 ?

F.

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
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 Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

117 views 0 4
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