Forums

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

Can I get from REST API the target Due date and actual finish date for a task?

sam smith August 20, 2019

For a given task I want to know what was the planned due date and the actual date the task was completed. Does REST API give me that information?

2 answers

2 accepted

1 vote
Answer accepted
Krister Broman _Advania_
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 20, 2019

For a given issue?

Sure just search for the issue with a GET at for example:

[DOMAIN]/rest/api/2/search?jql=key=DEVK-28&fields=duedate,resolutiondate

Krister Broman _Advania_
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 20, 2019

latest issue works as well like Lady Di stated, if you want to have less fields then use the same technique with fields added, simply skipping the jql part. 

[DOMAIN]/rest/api/latest/issue/DEVK-28?fields=duedate,resolutiondate

sam smith August 20, 2019

Thank you! Got it.

1 vote
Answer accepted
Lady Di
Atlassian Partner
August 20, 2019

Hi, of course. Any information on the custom fields you can get on request:

https://yourjiraurl/rest/api/latest/issue/ISSUE-123

 

Снимок экрана 2019-08-20 в 18.21.45.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events