Forums

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

Retrieve repository smart value by Jira automation

Yehuda Dembsky March 26, 2025

Hi,

I am using Jira and Bitbucket cloud.

When I am running the pipeline (Test, Staging, Production), I would like to use the Jira automation and get the repository name, the build number, etc.

Which smat values should I use in order to get these values?

{{deployment.name}} - returns the build number

????? - for repository

 

Thanks, Yehuda

1 answer

0 votes
Tomislav Tobijas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 27, 2025

Hey @Yehuda Dembsky ,

I would recommend checking official docs related to this: Automation smart values - development 

I know you can get repository names from branches but I didn't test these from deployments but I believe it's a similar thing.

Cheers,
Tobi

Yehuda Dembsky March 27, 2025

Thanks Tomislav Tobijas _Koios.

This smart value returns the repository

{{Branch.repository.name}}

 

Yehuda

Like Tomislav Tobijas likes this
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.
March 27, 2025

Hi @Yehuda Dembsky 

The {{branch}} smart value is only available with the branch-related rule triggers.

When other triggers are used, workarounds are required, such a calling the build-tool's REST API endpoints using the Send Web Request action to access other information.

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events