Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to Check for if an Issue w/ Summary Already Exists in a Project

Our users would like to use a post function to create an issue in a specific project with the condition that an issue with the same summary does not already exist in the target project.

2 answers

1 accepted

2 votes
Answer accepted


in the conditional execution script, you can use a JQL query to check whether an issue already exists with the same summary:

!jqlSearch("project=PROJ and summary ~ \"${issue.summary}\"",1)

Thanks David!

Would you know how I can write a condition such as:

!!issue.get("SD_Project Name")
!jqlSearch("project=(value of the above field if present) and summary ~ \"${issue.summary}\"",1)

 Thank you for your help ahead of time :) !


issue.getAsString("SD_Project Name") && 
!jqlSearch("project=\"${issue.getAsString("SD_Project Name")}\" and summary ~ \"${issue.summary}\"",1)
Like Vasily Prokhorov likes this


Thank you David.

Hi community, this solution or similar may be applicable to Jira automation?

Thanks for your reply

0 votes
Ollie Guan Community Leader Oct 25, 2019

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you