Forums

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

problem using JQL in rest-api

laevskih July 20, 2023

Hello guys. Trying to use JQL when sending request to JIRA api. Tried a lot of things but still not able to complete my task.
My JQL - 'assignee = myName AND (statusCategory = "In Progress" OR statusCategory = "To Do") AND status != revision '
It was too hard for me, so i started slow. Tried .../rest/api/2/search?jql=assignee=myName -> it works but if i do this, then it doesn't work, why?
../rest/api/2/search?jql=assignee=myName&statusCategory=3 
../rest/api/2/search?jql=assignee=myName&statusCategory=done


P.s.
.../rest/api/2/search?jql=assignee=myName -> works
.../rest/api/2/search?jql=statusCategory=Done -> works
but if i do & between them, it doesn't work

1 answer

1 accepted

1 vote
Answer accepted
laevskih July 20, 2023

I got it.

Don't use '&', use this instead

%20AND%20

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events