Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Automation rule - create issue if issue not present

As new Story is created in Scrum backlog.
We want to use JQL to check to see if a story exsist and if not create one.


This is a copy of the JQL I am attempting:
project = "BB Scrumble" AND issuetype = Story AND component = "AA Stack" AND status not in (Done,Cancelled) and ({{"Labels 1"}} = {{triggerissue."Labels 1"}})


The Labels 1 field contains our strategy IDs.  We can have multiple Scrum Stories with same strategy ID, but we only want to create one new story in Scrum with component "AA Stack"

1 answer

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 23, 2023

Hi @Brandon Criger and welcome to the community!

You can have a query where one smart value = another smart value.  Also, is Labels 1 a text field?  If so, it should look something like this:

project = "BB Scrumble" AND issuetype = Story AND component = "AA Stack" AND status not in (Done,Cancelled) and "Labels 1" ~ {{triggerissue."Labels 1"}})

Thank you for the feedback.  I did find out my original JQL worked, but me the user didn't have authority to create new issues in the specific project.  

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events