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

francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 14, 2012

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

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2012

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

francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 14, 2012

Hi Bob,

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

F.

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2012

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.

francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 15, 2012

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)

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2012

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

0 votes
Onkar Ahire
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2012

Extends AbstractIssueEventListener and implements methods of that abstract class.

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

francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 14, 2012

This makes sense if the operation generates an event.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events