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
Try with
{{fixVersions.name}} {{fixVersions.id}}
or for multiple fixVersions against an issue key, this should also work
{{#issues}}{{#fixVersions}} {{name}} {{id}} {{/}}{{/}}
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sridhar Gandla hope you're doing well!
I succeed with such template:
And i got:
{{#issues}}
Key: {{key}}
{{#fixVersions}}
version ID : {{id}}
version Name: {{name}}
{{/}}
{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.