It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 in Marketplace Apps & Integrations

Marketplace Spotlight: Manage your assets with asset management apps

  The role of IT professionals has become increasingly difficult over the last decade. Our organizations work in an increasingly software-powered world and IT professionals are expected to not...

331 views 3 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you