Forums

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

boolean in API search using post

Deleted user
January 25, 2019

I looked at the API docs and it shows how to get issues by project for a post to search endpoint, but I didnt see any more complex jql examples I am looking to use the following for the search endpoint.

project=stuff AND labels in (stuff, morestuff)

but dont know how the body needs to be formatted. Could only get it working if I used project only and excluded everything else 

1 answer

1 accepted

0 votes
Answer accepted
Deleted user
January 25, 2019

Ok figured it out will answer my own question the JQL section in the body is the jql as a string example

payload = {'jql': 'project = STUFF AND labels in (Stuff,MoreStuff)'}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events