Forums

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

Global Variable/Field?

David Loszewski
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.
February 20, 2022

Is there any way to create a global variable/field that can be used across all projects? 

2 answers

1 vote
Carlos Garcia Navarro
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 20, 2022
David Loszewski
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.
February 20, 2022

Most likely not since a custom field is issue specific.  I want a global variable that I can set, and then compare against from any project using automation for jira. 

 

Ie.

Global variable = 4.5

Then in automation for jira, if issues custom field = the global variable value, edit issue fields, etc

Sreenivasaraju P
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.
February 20, 2022

Hi @David Loszewski ,

 

Custom field can be configured for global (for all issues). Custom field can be considered for your requirement.

 

global.PNG

Like • Carlos Garcia Navarro likes this
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 21, 2022

Even if you configure a custom field as global, it will be available for all issues, but its value will be specific to an issue.

This is what David tries to avoid.

Like • David Loszewski likes this
David Loszewski
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.
February 21, 2022

but won't it be a different value for each issue? I want it to be the same value for all issues

Sreenivasaraju P
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.
February 21, 2022

You can set default value for this field. So automatically , whenever the new ticket is created the custom field value will be set to the given default value.

David Loszewski
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.
February 25, 2022

@Sreenivasaraju P I think the default field idea will work. You should post as answer so I can accept and you can get the credit! thanks!

Melissa Nielsen March 3, 2025 edited

Using the default field is a slightly clunky workaround, but it's what I'll be doing :) Thanks for the idea, Carlos!

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2022

I just realized that there is a "Create variable" action!

See: https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Create-variable-New-component/ba-p/1448118

(You could add this as the first command in your chain of commands, and it would effectively create a global variable that can be configured in the rule.)

Suggest an answer

Log in or Sign up to answer