Forums

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

How can I use Lookup Issues funtion in Automation to search for certain issues?

Santino Lucca Castrataro
Contributor
January 17, 2024

Hi! I´m struggling to search for issues with the Lookup Issues functionallity. I need to search issues that has the same value in field "EXAMPLE" as that same field but in the most recently created issue (Trigger Issue).

Can you help me with the JQL? 

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Mark Segall
Community Champion
January 17, 2024

Hi @Santino Lucca Castrataro - You should be able to do something like this:

YOURFIELD = {{issue.YOURFIELD}}

If you're still having problems, please share details about your field as some field types like multi-select require a little more finesse in how you set up the smart value.

Santino Lucca Castrataro
Contributor
January 17, 2024

Thanks @Mark Segall but I´ve already solve it with the following JQL: 

"EXAMPLE" ~ "{{triggerIssue.fields.customfield_12899}}"

Like Mark Segall likes this
Mark Segall
Community Champion
January 17, 2024

Yes that makes sense.  Happy you were able to resolve it!

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