API REST OF JIRA

Ayoub Karaa September 16, 2019

im usin api rest of jira /api/rest/3/search
to get alll issues in the documentation it's mentioned that there is in the result "logwork"
but when i use this api it retur "workratio" and a number 
there is a solution to get all issues with their logwork in the same api ?!

image.pngimage.png

1 answer

1 accepted

0 votes
Answer accepted
DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2019

@Ayoub Karaaare you passing 'worklog' in fields parameter, API by default doesn't return all fields.

Ayoub Karaa September 16, 2019

im not using it should i used in parameter to return it ?!
in querry param ?!

DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2019

@Ayoub Karaaas you are using GET request for search, you should use it as query parameter.

You can look at documentation for more explanation.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-search-get

 

And details,

Screenshot 2019-09-16 at 3.57.16 PM.png

Ayoub Karaa September 16, 2019

thanks a lot 

Suggest an answer

Log in or Sign up to answer