Hi Team,
I am looking for released date of the release version using Jira API / Jira Python
I am able to get the change log / history for each issue using Jira Issue API like below
Jira - Issue API :
https://{JIRA_BASE_URL}/rest/api/2/issue/387759
{
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "387759",
"changelog" : {...}
...
}
But I am not getting the change log / history in the JIRA version API, rather I am getting the last change released version in UI like below which is not useful
Is there a way to get the changelog / history for the version (so that I will be able to get the 'releaseDate' changed from 'Unreleased' to 'Released' state)
Jira Version API :
https://{JIRA_BASE_URL}/rest/api/2/version/11400
{
"self": "https://{JIRA_BASE_URL}/rest/api/2/version/11400",
"id": "11400",
"description": "Test Release",
"name": "Test Version 1.0.0",
"archived": false,
"released": true,
"startDate": "2020-03-24",
"releaseDate": "2020-04-14",
"userStartDate": "24.03.2020",
"userReleaseDate": "14.04.2020",
"projectId": 11800
}
@Vamsi Kandala , You misunderstood my query, I am expecting the releaseDate for a specific version.
I am getting the releaseDate & userReleaseDate as shown in the question for the version api.
But the problem statement is - the releaseDate / userReleaseDate field is not giving the date value of 'when its changed from unreleased to released state'.
(i.e) In UI, we have a feature to update the releaseDate manually so when the user updates the release date manually its getting updated in the releaseDate & userreleasedate field.
So I am expecting the 'changelog' value for the version api. If there is a way to get the 'changelog' value for the version api, using that I will be able to get the actual releaseDate value (i.e the date when its changed from unreleased to released state).
Thanks,
Praveena.
Hi @Pravee95
Welcome to the Atlassian community!
In your REST API call for Version,
https://{JIRA_BASE_URL}/rest/api/2/version/11400
you have mentioned the Version Id as well and so it is returning the details of that specific version.
Instead, can you try using this GET call
https://{JIRA_BASE_URL}/rest/api/2/project/{projectIdOrKey}/versions
This will return all the versions of the specified project and you can parse it accordingly to get the related information.
Hope this helps.
Thanks,
Vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You misunderstood my query, I am expecting the releaseDate for a specific version.
I am getting the releaseDate & userReleaseDate as shown in the question for the version api.
But the problem statement is - the releaseDate / userReleaseDate field is not giving the date value of 'when its changed from unreleased to released state'.
(i.e) In UI, we have a feature to update the releaseDate manually so when the user updates the release date manually its getting updated in the releaseDate & userreleasedate field.
So I am expecting the 'changelog' value for the version api. If there is a way to get the 'changelog' value for the version api, using that I will be able to get the actual releaseDate value (i.e the date when its changed from unreleased to released state).
Thanks,
Praveena.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pravee95 were you able to find a solution for this ? I am also looking for changelogs value like when the release notes ticket were updated but only getting version history using this endpoint :
https://{JIRA_BASE_URL}/rest/api/2/project/{projectIdOrKey}/versions
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.