JQL to JSON format

Sergey Shestakov August 2, 2017

Please, show me example of converted JQL query to JSON:

jql query: issuekey in (test1,test2)

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2017

The docs have a couple of examples well buried.  But it is as simple as embedding the string:

{"jql":"issuekey in (test1,test2)"}

Sergey Shestakov August 2, 2017

Thanks, work!

0 votes
Warren
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.
August 2, 2017

Hi Sergey

 

I'm not aware that you can convert from one to the other. JSON is used to return data from an API request; the request may or may not have contained some JQL.

Could you explain in some more detail what you're trying to do / achieve?

Thanks

Warren

Suggest an answer

Log in or Sign up to answer