V
V
Vlad2018-04-24 20:33:26
API
Vlad, 2018-04-24 20:33:26

How to get task due date via JIRA REST API?

You need to pull issue details from Jira (version 7.9) using PHP.
To do this, I send a request to '/rest/api/2/search?jql=project=' . $project, where $project is the project code. In response, I receive a JSON with a list of tasks, but the problem is that this data does not contain the completion date / due date of the task.
How to extract this information?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gonchik Tsymzhitov, 2018-08-22
@gonchik

Hey!
then make a request for an issue with expand=history

F
FastGrandmother, 2019-01-10
@FastGrandmother

Through /rest/api/2/field you look for the required field (closing date?), then you execute requests to receive each issue, as they said in the first comment, and look for the required field.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question