I'm trying to exclude one resolution value from a filter. I'm not the best with JQL
I'm trying Project = nbisoa AND issuetype = Observation AND resolution != Declined.
I'm getting this message: The operator '-' is not supported by the 'resolution field
Your syntax looks correct to me, and I'm able to run it with the same fields and operators (I need to change the project and issuetype) but I'm on the cloud. For testing, if you say 'resolution = Declined' does it work?
Can you try 'resolution not in (Declined)'? That should work too.
I looked and didn't see any specific open issues around that on Atlassian's Jira site. (jira.atlassian.com)
I'm not sure what version of Jira Server you're using, so I couldn't narrow down my search.
Hi @Joe Pitt - can you provide a screenshot of your JQL query with the error? Echoing everyone else’s answers, your syntax looks correct so a screenshot may be helpful for us to help troubleshoot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Joe Pitt
That's very odd, I don't get that error on my end, have you tried not in instead of != and encapsulate in parentheses?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, and I get the message not in doesn't work with the resolution field. I even tried letting it suggest options and it suggested != and Declined was listed as a resolution value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is definitely odd! I'm on JIRA datacenter, I'm able to use != as well as not in for resolution.
Let me ask though, since JIRA does allow creating customfields with the same name, did you or someone on your team by chance create a free text type resolution field? Those will only take ~ and !~ if I'm remembering correctly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. I'm a project admin and the system resolution field is the only one in the projects I administer. I also tried the ~ for Declined and that didn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.