We use a text Custom Field to store a charge numbers. This field must contain a comma to be a valid charge number. I want to find issues with invalid charge numbers so I wrote this filter:
"Charge Number" !~ ','
The filter query is valid but it returns every issues that have a value in the Charge Number field. On the other hand
"Charge Number" ~ ','
I tried using the unicode number (\u002c) with the same results.
Do you know how to write this query?
There is a trouble for JIRA to search with ~ when firt simbols are not spesified (https://confluence.atlassian.com/jira/performing-text-searches-185729616.html and https://jira.atlassian.com/browse/JRA-6218)
For out needs I use this SQL statement (for MS SQL )
Select project.pkey + '-' + CAST( jiraissue.issuenum as varchar(20)) as issueKey , customfieldvalue.* from customfield join customfieldvalue join jiraissue join project on jiraissue.PROJECT = project.ID on customfieldvalue.ISSUE = jiraissue.ID on customfield.ID = customfieldvalue.CUSTOMFIELD where customfield.cfname = '№ док' and customfieldvalue.STRINGVALUE like '%,%' --
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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