Forums

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

How to set a variable in Jira automation

Sheeja Philip September 3, 2024

Hello, I am trying to set a variable to the fixversion name of a particular issue. After this, I want to use the name to find all the issues that have the fixversion name.

I am able to set the variable but when I search for the fixversion = {{currversion}} , it doesn't find all the issues. It only finds the issue that I used to set the variable.

Any pointers will be appreciated.


Notification_Center.jpg

1 answer

0 votes
Marc - Devoteam
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.
September 3, 2024

Hi @Sheeja Philip 

Example:

Screenshot 2024-09-03 at 17.12.44.png

In the variable I use smart-value, {{issue.fixVersions.id}}

Sheeja Philip January 22, 2025

the id could be different because there are multiple projects. The version name is the same across the projects bu the id is different. I want to find ones with the same name.

Marc - Devoteam
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 22, 2025

Hi @Sheeja Philip 

This is not an option I think as can\t be done on version name. as versions a project bound

Suggest an answer

Log in or Sign up to answer