How to Get the Start Date for an Issue from JIRA Using REST API

When working with JIRA to manage projects and track issues, it’s essential to have comprehensive data to analyze project timelines and monitor progress effectively. One crucial piece of information is the start date of an issue, which allows us to calculate the time taken to complete the task. However, retrieving the start date information directly from JIRA’s REST API might not be available.

Challenge

Upon searching through the JIRA REST API documentation, you might notice that the start date field isn’t available in the response by default.

Solution

The solution to this challenge lies in leveraging custom fields within JIRA. While the start date isn’t a standard field, JIRA has an existing custom field to store the start date of each issue.

Users can retrieve its value using JIRA’s REST API. However, it’s crucial to note that the field ID for the start date custom field may vary based on your JIRA configuration. In our example, let’s assume the field ID for the start date is customfield_10015. You can replace this with the appropriate field ID from your JIRA instance.

Leave a comment

Your email address will not be published. Required fields are marked *