https://url/rest/api/2/search?jql=project = LW AND issuetype = Story AND created >= 2020-01-12 AND created <= 2020-01-19 , fields=status
Hello @Abhinaya
The fields property work with issueId so you need something like this :
https://url/rest/api/latest/issue/ISSUEID?fields=status
You receive something like this :
{"expand":"renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations","id":"00015","self":"https://URL/rest/api/latest/issue/12000","key":"ISSUEID","fields":{"status":{"self":"https://URL/rest/api/2/status/11404","description":"","iconUrl":"https://URL/images/icons/status_generic.gif","name":"To Do","id":"11404","statusCategory":{"self":"https://URL/rest/api/2/statuscategory/2","id":2,"key":"new","colorName":"blue-gray","name":"To Do"}}}}
Hope this helps
thanks for your response ,
Am pulling Data from jira for the IssueType as Story and i use the below api,
https://url/rest/api/2/search?jql=project = LW AND issuetype = Story AND created >= 2020-01-12 AND created <= 2020-01-19
But this api returns me back a huge amount of data , i just need the status field .
so i tried with the below API,
https://url/rest/api/2/search?jql=project = LW AND issuetype = Story AND created >= 2020-01-12 AND created <= 2020-01-19 , fields=status
Still i couldn't filter it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.