Hi,
looking to add metadata to releases.
I understand there is no way to add the custom field to release, so thinking about creating a card in the dedicated metadata project.
I can create an issue in this other project and copy the release name to it.
But I do not see how to fetch the rest information about the release: project, dates and the state.
Can anyone help on this?
Thank you.
Hi @Inna S
Not sure if you took a look at the smart values properties which has some release attributes you can call. Here you go: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
Good Luck
Hi @Inna S
Adding to the answer from @Fabian Lim you may use the following how-to article to find all of the smart values supported for an issue, including the details of release versions: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fabian Lim @Bill Sheboy ,
of course I looked through the smart values page.
And did not find anything that would show the property of the release.
They all seem to be about properties of the issues.
I'm looking for the release aka version instead.
They should be at least: name, start date, end date, creation date, creator, status.
How do I get those?
At this point I'm not even sure if I could use the API to search for the newly created version and get the attributes from there.
This call assumes we already have the version ID...
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the automation triggers for versions (e.g. version released) you can access the same smart values as for a specific version within an issue field (e.g. {{issue.fixVersion.first}}
As you note, not all of the version attributes are available from smart values.
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.