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
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

335 views 0 1
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