Forums

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

help me this query

Jerin Joseph July 3, 2019

project = SIR AND issuetype = "Production Bug" AND text ~ "Contract" AND summary!~"draft" AND created >= 2019-03-02 and issue.property[development].commits > 0 and resolution=fixed

 

now i want to search those entries whose text does not contain "draft" or "template"

i have tried many times but it results in error 

i have tried with including two words in parenthesis, adding them with OR and "+"

 

3 answers

1 accepted

0 votes
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2019

Try doing it in separate queries. Save each query as a filter and then write a JQL to include result from both the filters. 

Jerin Joseph July 4, 2019

that worked for me ! Thanks @Ravi Sagar _Sparxsys_ 

0 votes
Sara Bibeau
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!
July 3, 2019

Hi Jerin, you have a couple of AND that are not in caps, I think this makes the query invalid

Jerin Joseph July 4, 2019

it doesn't matter if its AND or and!

0 votes
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2019

Hi @Jerin Joseph 

JQL looks valid to me. What is the error message? Is project name, issue type and resolution values valid for your instance?

Ravi

Jerin Joseph July 3, 2019

@Ravi Sagar _Sparxsys_ Sorry I didn't realize to edit my question .Thank you so much for your instant response . But I want to search those entries whose text does not contain "draft" or "template".Could you help me with that?

Like Ravi Sagar _Sparxsys_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events