Forums

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

REST API with issueFunction

Vivian
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!
March 18, 2019

I have the following filter that works fine:

issueFunction in linkedIssuesOf("\'Target Release\' in (2019.06,2019.08)")

 

When I try to use the above with REST API, I'm running into issues.

For instance,

curl -D- -X POST -H "Authorization: Basic xxxxxxxxxxxxxxxxx==" -H "Content-Type: application/json" --data '{"jql": "issueFunction in linkedIssuesOf("\'Target Release\' in (2019.06,2019.08)")}' https://localhost:8081/rest/api/2/search

gives syntax error: `(' unexpected

I have tried escaping the double quotes as recommended in some forums, but still getting errors.

Any suggestions as how to get this to work?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events