Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Contains operator (~) is not working for project field

Deepak Raj
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!
August 23, 2023

Hello Team,

 

I am having a scenario where I have to fetch all the JIRA tickets having project name ends with 'SCR'. I tried below JQL query ,but it is not working ,

http://jira-test.xyz.com/rest/api/2/search?jql=(project~SCR) 

I am getting below error response,

{

    "errorMessages": [
        "The operator '~' is not supported by the 'project' field."
    ],
    "errors": {}
}

Please let me know is there is any way I can achieve this.

Thanks & Regards,

Deepak

 

1 answer

1 accepted

2 votes
Answer accepted
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 23, 2023

Hi @Deepak Raj,

Check out answers of the similar question here. As a workaround, you can use project category or an additional filter.

Deepak Raj
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!
August 23, 2023 edited

Thank you @Kseniia Trushnikova  for the quick response. I will try this solution.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events