Need to know lithium query for rest API where subject doesn't matches a 'string'

Dhruv
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!
May 23, 2022

Hi,

I'm facing an issue with a query where i'm trying to find data from lithium where subject doesn't matches a substring.
I want to acheive something like this

https://community.atlassian.com/api/2.0/search?q= SELECT * FROM messages WHERE SUBJECT NOT MATCHES 'sync'

But NOT operator doesn't works for me and i get error : 604
Can someone help me get list of all the operators or provide a solution/query to find results where subject doesn't matches a perticular keyword.

1 answer

0 votes
Nic Brough -Adaptavist-
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.
May 23, 2022

Welcome to the Atlassian Community!

What is a "lithium query"?   Does it affect the search strings you are sending to the REST API?

(I'm going to guess you mean the old "lithium" name for the community, which is now Khoros, rather than Lithium.  If that is true, you might want to have another look at the API docs, as you're using an old search, and I think you probably want to know that this version of Khoros is old and the Community is looking to move to a much newer version soon)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events