Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What are the Release properties available for automation?

Inna S
Contributor
October 2, 2022

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.

 

1 answer

0 votes
Fabian Lim
Community Champion
October 2, 2022

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

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2022

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

Inna S
Contributor
October 4, 2022

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...

GET /rest/api/3/version/{id}

Thank you.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2022

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.

Like Fabian Lim likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events