You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
In Jira you can create versions and give them "Start Date" and "Release date":
I need to access those dates from the REST API. I found a call that looks perfect, except the "Start Date" field is missing for the results:
/rest/agile/1.0/board/11/version?maxResults=50&startAt=0&released=false
{
"maxResults": 50,
"startAt": 0,
"isLast": true,
"values": [
{
"self": "https://<myinstance>.atlassian.net/rest/api/2/version/10006",
"id": 10006,
"projectId": 10005,
"name": "V1",
"description": "V1",
"archived": false,
"released": false,
"releaseDate": "2019-04-28T00:00:00.000Z"
},
{
"self": "https://<myinstance>.atlassian.net/rest/api/2/version/10007",
"id": 10007,
"projectId": 10005,
"name": "V2",
"description": "V2",
"archived": false,
"released": false,
"releaseDate": "2019-05-30T00:00:00.000Z"
}
]
}
Is there any way to get that missing field? Another API call? A hidden parameter? Some black magic maybe? :)
Thanks!
Hello Josselin,
I hope you are having a nice day.
You must use the Expansion feature in the JSON REST call to get the hidden parameter StartDate, however, this parameter is only available for Create Version or Update Version.
You can check the documentation below for more details:
Let me know if this information helps!
Hi,
Thanks, I somehow completely missed the call "Get Version" from that API. It does give me the startDate, so that's nice.
I will have to use that call for every version since the start date is not returned in the call that returns multiple versions.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome, Josselin.
Have a nice day and please let us know if you need help with anything else regarding the REST API calls. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.