Identify the project a version is created from when using the "Version created" Automation Trigger

Daniel Newman
Contributor
January 29, 2025

Hi,

I am using the "Version created" trigger in Jira automation and trying to use the smart value {{project.key}} to identify which project the version was created in as I need this for future steps, however this doesnt seem to work.

I understand that I could create my automation rule to be project specific and then hard code the project key but this means that I will need to create multiple copies of 1 automation rule for all my projects rather than 1 that runs across all projects. The overhead on updating these is then bigger.

I am not sure if I am missing anything obvious...

Any ideas?

1 answer

1 accepted

2 votes
Answer accepted
Kawan Diogo
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.
January 29, 2025

Hi @Daniel Newman 

 

How you are using the version created trigger, maybe you need use this smart value to access information about the version {{version.project.key}}

 

Give a try and let me know if this helps you.

Best Regards

Daniel Newman
Contributor
January 29, 2025

Thanks for the quick response @Kawan Diogo

That seems to have worked. I had a look at the smart value documentation but couldn't see the version related ones. If you have a link you could send across that shows these it would be much appreciated.

Like Kawan Diogo likes this
Kawan Diogo
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.
January 29, 2025

There is no section talking about this smart value, but there is documentation on how to discover smart values here: Find all available smart values for a Jira issue

Daniel Newman
Contributor
January 29, 2025

Thanks @Kawan Diogo looks useful 

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.
January 29, 2025

Hi @Daniel Newman 

Smart values like that are listed under the "development" section in the documentation:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/#--version--

Kind regards,
Bill

Like # people like this
Daniel Newman
Contributor
January 30, 2025

Thanks @Bill Sheboy!

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