Forums

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

Fixversion Name & fixversion ID In Jira Data Center

Sridhar Gandla
Contributor
March 31, 2025

JQL used in Jira Automation fetching few Jira Cards as Expected. I am using Data Center 9.0.2 Version. Jira keys are associated with various fix Versions as my query shows for ex: Jan2025, Feb2025, March2025 fix versions. Jira Automation is written like this.

{{#issues}}

Key: {{key}}

version ID : {{version.id}}

version Name: {{version.name}}

{{/}}

Key is printing but not version ID or name.   Note: *** I used {{fixVersion.name}},  {{fixVersions.name}}  as well for testing purpose but no luck. 

Issue I am facing is : Fixversion Name and Fixversion ID is not getting printed et all.

My results should looklike

Key : ABC-01

Version ID:2

Version Name: Feb 2025

Key : ABC-02

Version ID:1

Version Name: Jan 2025

Key : ABC-03

Version ID:3

Version Name: Mar2025

 

Jira Auto.jpg

2 answers

1 vote
Vishal Biyani
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 31, 2025

@Sridhar Gandla 

Try with 

{{fixVersions.name}} {{fixVersions.id}}

or for multiple fixVersions against an issue key, this should also work

{{#issues}}{{#fixVersions}} {{name}} {{id}} {{/}}{{/}}

Sridhar Gandla
Contributor
March 31, 2025

Thank you for quick response. I am using Data center of Jira. (Not the cloud Version)... Do you suggest, is the above will work ? I will try tomorrow on my office hours.

 

Vishal Biyani
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 31, 2025

Yes. You can refer to below link for what will work in DC for your version.

https://confluence.atlassian.com/automation0900/jira-smart-values-issues-1358463241.html

0 votes
Sergei Troshin
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.
April 1, 2025

Hi @Sridhar Gandla hope you're doing well!

I succeed with such template:
screen1.png

 

And i got:
screen2.png

 

{{#issues}} 
Key: {{key}}
{{#fixVersions}}
version ID : {{id}}
version Name: {{name}}
{{/}}
{{/}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.0.2
TAGS
AUG Leaders

Atlassian Community Events