Forums

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

JIRA Automation - only create a new issue where custom field in trigger issue is a unique value

Ben W June 16, 2020

Hi all,

I would appreciate any help with the following:

I'm seeking to create a project automation rule where, upon the closure of an incident, a problem ticket is created but only where the value of a custom field within the Incident is unique. I can't find an options which allows JIRA to search custom fields of existing tickets. Is this possible?

Many thanks.

Ben

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
May 18, 2023

Hi @Ben W 

I would add a lookupIssues JQL search for that field: customfield = yourvalue

If the {{lookupIssues.size}} is equal to 0 then create the ticket.

Hope that helps!

Suggest an answer

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

Atlassian Community Events