Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Product Discovery - Automation to close ticket

Claire Prosser
Contributor
August 21, 2024

I'm looking to build some automation to follow the following logic:

 

When all linked delivery tickets (that have been created using the 'Create a delivery ticket' button) are in a Done status
Transition the Idea ticket in JPD to Done status

 

Is there any JQL that will do this?

Thanks! :)

1 answer

0 votes
Bill Sheboy
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.
August 21, 2024

Hi @Claire Prosser 

This scenario is a variation of a couple of template rules:

  1. the project template: "When all child issues are completed → then close parent" or
  2. the global template: "When a delivery ticket is done → mark idea as done".

 

You could start with a template rule, and make some adjustments:

  • The rule will need global or multiple-project scope in order to access the different projects' issues.  Your Jira Site Admin will need to help make that configuration change to the rule.
  • JPD Ideas link to the delivery issues using a special link type, "Polaris issue link", and the outward name is "implements".  And so your rule could use either:
    • a related issues condition with JQL to find the other issues which also implement the idea, confirming that all are "Done"
    • a lookup issues action with similar JQL, and then a smart value condition to check the count of issues
  • Once the conditions have been confirmed, branch to the Idea to transition it to done

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events