You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Sio I want an exact match when using the contains operator in a JQL query.
key = TEST-36 AND summary ~ "__SPU__"
However this seems to return anything with SPU also regardless of capitalization!
How to get an exact match?
scriptrunner JQL function helped me solving that issue
issueFunction in issueFieldExactMatch(subquery, fieldname, regexp)
took from here
Hi @Joshua Hopkins ,
Yes see my screenshot :
In my case i use it in Jira Automation and it's working fine.
To help you, you can use the website https://regex101.com/ to construct your regex if you need more than an exact match. To have an exact match, just put your text between ^and $ as shown but with regex101.com you can construct more precise.
Is it clear for you?