Is issueFieldMatch() case-sensitive ?

Hi All,

When I run the following query it only returns tickets with "Error" in the summary field and not "error". I'm running Jira 7.3.8 on Postgre and Adaptavist Scriptrunner 5.2.2

issueFunction in issueFieldMatch('project=SD AND created>startOfDay()', summary, 'Error')

Tanx for looking

2 answers

1 accepted

Yes, this is correct. I think it is case sensitive.

Cheers!

Dyelamos

Thanks for the update Dyelamos.

I think it would be more useful if it was not case-sensitive.

Regards,

Denis

Well not at all.

What if you are looking for a key for a project that was "KEY" for example. Would you want to fetch the issues that casually mention "key"? 

No. This is ASCII, there is a huge subset of characters to be used for a reason.

Since this question is answered, feel free to mark my question as accepted so that other users know that this question has been answered.

Cheers!

DYelamos

Thanks for the update.

How about adding adding an extra parameter to the method which would allow either a case-sensitive or non case-sensitive search?

Regards,

Denis

That is an entire different matter. I actually agree that could be of use. Feel free to submit a feature request at www.productsupport.adaptavist.com

Cheers!

DYelamos

I tried the case insensitive switch and it worked for me:

issueFunction in issueFieldMatch("project=SD","Summary","(?i)error")

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 55m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

41 views 3 3
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