Forums

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

How to reference "Trigger Ticket" or "Affected ticket" in Jira automation

Eric Percival
Contributor
February 14, 2023

Hi All, 

 

I have an automation between my service desk project and my software project. Where when a ticket in the software project changes status it will put a comment on the linked ticket in the service desk project that development has started. 

In order to achieve this I made a global automation where the scope is multiple projects and the project listed are my software project and service desk project. 

I am however running into an issue when there is a ticket in the software project and another linked ticket is also in the software project it puts a comment that the development has started. This is however incorrect as I would like the automation to only run when the linked ticket is in the service desk project. 

Is there a way where I can define the trigger issue as a condition or trigger project as a condition?

I can not seem to add an attachment with a screenshot of the automation but it is currently configured as:

Trigger - When:issue transitions From: Dev on Deck To: In progress 

Condition - Project = GPS (This is the software project)

Branch - For linked issues (All link types)

Action - Then: Add comment to issue "This ticket has begun development"

 

2 answers

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
February 14, 2023

Hi Eric,

You should use a specific and unique Issue Link Type for the linking of issues between the JSW and JSM projects. Even create a new type if you want to ensure there is no overlap with other issues. Then base the trigger on the condition of having that specific link type. 

Eric Percival
Contributor
February 14, 2023

Thanks John I will try this!

Like # people like this
0 votes
Kelly Arrey
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.
February 14, 2023

Hi @Eric Percival, the way I understood your question, I think you'd want to add a new condition inside the branch, e.g., 

Trigger - When:issue transitions From: Dev on Deck To: In progress 

Condition - Project = GPS (This is the software project)

Branch - For linked issues (All link types)

Condition - Project != GPS

Action - Then: Add comment to issue "This ticket has begun development"

Suggest an answer

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

Atlassian Community Events