The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Hi,
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")
AND
!jqlSearch("project=(value of the above field if present) and summary ~ \"${issue.summary}\"",1)
Thank you for your help ahead of time :) !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure:
issue.getAsString("SD_Project Name") &&
!jqlSearch("project=\"${issue.getAsString("SD_Project Name")}\" and summary ~ \"${issue.summary}\"",1)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi community, this solution or similar may be applicable to Jira automation?
Thanks for your reply
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vasily Prokhorov ,
Pls refer the following post, hope it helps.
How to check if an issue with a certain summary already exists
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.