Reputation: 1
I need to get a "project start date" via REST in Jira 6.2, I trying to make request in URLJira/rest/api/2/project/ProjectName and the response is a Json but i can't see the startDate (or something like that), unfortunately i can't connect directly to the database. I made a wrong request or is there a solution for this?
Upvotes: 0
Views: 1024
Reputation: 3298
Standard JIRA projects do not have start dates in themselves (unless you are using the third-party Profields plugin, in which case you should check out the Profields API documentation).
However, versions within a standard JIRA project do have start dates. To get the project version list, including start dates, make a REST request to:
YOURJIRAURL/rest/api/2/project/YOURPROJ/versions
This returns something like this, including the userStartDate
property:
[{
id:"11590",
name:"1.0",
archived:false,
released:false,
startDate:"2013-01-01",
userStartDate:"1/Jan/13",
projectId:10130
}]
Upvotes: 1
Reputation: 1
I solved it by setting the start date equal to the date of creation of the first issue
Upvotes: 0