Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter out issues having a custom field equal to '-'

Loris Pozzobon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2019

Hi, I'm having some trouble trying to create a Jira filter that filters out all issues having a string custom field equal to '-'. I've already tried some escape sequences found on other similar topics:

MyField !~ \- (error)
MyField !~ \\- (doesn't filter out)
MyField !~ [-] (error)
MyField !~ '-' (error)
MyField !~ "-" (error)

Do you have any suggestions?

1 answer

0 votes
Tarun Sapra
Community Champion
June 3, 2019

Hello @Loris Pozzobon 

PLease see lot of details about this issue here

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

did you try

Myfield ~ "\\-"
Loris Pozzobon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2019

Thank you Tarun, I've just tried the filter you suggested and it is not filtering out, just like

MyField !~ \\-

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events