Forums

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

Link issue to an issue linked to the destination issue of a specific type

Sam Gerzon June 2, 2025

There is a "Problem" ticket, when a specific field is filled out->Automation Creates "Other Problem" and links them together. "Other Problem" is the ticket I need to link to later in this scenario.

 

When that "Problem" ticket is transitioned to a specific status, a JMWE Post function creates a "Task" (I'm not touching it because I'm working on top of someone else's work). This "Task" is then linked to the Problem (Reminder that the "Problem" is linked to "Other Problem")

 

MY Automation is triggered when that "Task" is created, the condition checks if that "Task" is linked to a Problem AND if that Problem has a specific field that is not empty--->Then it creates "Other Task" and links it to the Task (which is already linked to the problem)

 

My question is how do I link "Other Task" to "Other Problem"?

 

I know it sounds confusing because it is.

 

-"Problem" is linked to "Other Problem"

-"Task" is linked to "Problem"

-"Task is linked to "Other Task"

How do I link "Other Task" to "Other Problem"?

 

Any help is greatly appreciated!

1 answer

0 votes
Trudy Claspill
Community Champion
June 2, 2025

Hello @Sam Gerzon 

Can you please provide screen images showing your complete automation rule?

When the Task is created may it be linked to more than one Problem? And if so, do you want the new issue your create to also be linked to all the same Problems?

I think you should be able to do something like this:

WHEN: issue created 

Conditions:
- issue type  = Task
- matches JQL: <your JQL>

Actions:

- Lookup Issues (to get the Problem to which the trigger issue is linked)

- Create issue (create the new issue)
-- In this action add the Linked Issues field to set
-- For the issue to link to specify the smart value {{lookupIssues.first.key}}

Sam Gerzon June 2, 2025

Thanks for Replying!

Extra Info (I didn't explain it nearly well enough):

 

There is a "Problem" ticket, when a specific field is filled out->Automation Creates "Other Problem" and links them together. "Other Problem" is the ticket I need to link to later in this scenario.

 

When that "Problem" ticket is transitioned to a specific status, a JMWE Post function creates a "Task" (I'm not touching it because I'm working on top of someone else's work). This "Task" is then linked to the Problem (Reminder that the "Problem" is linked to "Other Problem")

 

MY Automation is triggered when that "Task" is created, the condition checks if that "Task" is linked to a Problem AND if that Problem has a specific field that is not empty--->Then it creates "Other Task" and links it to the Task (which is already linked to the problem)

 

My question is how do I link "Other Task" to "Other Problem"?

 

I know it sounds confusing because it is.

 

-"Problem" is linked to "Other Problem"

-"Task" is linked to "Problem"

-"Task is linked to "Other Task"

How do I link "Other Task" to "Other Problem"?

 

 

 

 

Suggest an answer

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

Atlassian Community Events