Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,930
Community Members
 
Community Events
165
Community Groups

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

Dhruv I'm New Here 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

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
Community showcase
Published in Atlassian Account

How to change your Atlassian account email address

When using an Atlassian account that is not managed, it’s possible to change the email address, but we often receive the following notification on the email that we want to use: Sorry, we couldn'...

1,102 views 2 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you