How to query Summary for EXACT match?

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?

1 answer

1 accepted

2 votes
Thomas Schlegel Community Champion May 18, 2017

Hi Timothy,

this is not possible with current Jira versions. There is an open issue for that: 

https://jira.atlassian.com/browse/JRASERVER-21372

Maybe you want to vote for it.

sigh...

OK, well since I am calling it from script runner then I can use a regex to make sure it matches. 

 

But it is really irritating that the issue referenced has been open for 7 years. This should be supported by JQL :-(

 

Thanks for the reply!

I have the exact requirement. Timothy, can you please elaborate on "calling it from script runner".

 

Thanks,

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,114 views 6 19
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot