Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

{{triggerissue.fixVersion}} errors

{{triggerissue.fixVersion}} errors and not sure why smart value does not resolve as expected.  {{triggerissue."Epic Link"}} has no issues

3 answers

1 accepted

0 votes
Answer accepted
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 01, 2023

Use 

{{issue.fixVersions}} or 

{{triggerIssue.fixVersions}} 

as per: Jira smart values - issues | Cloud automation Cloud | Atlassian Support

not 

{{triggerIssue.fixVersion}} or

{{issue.fixVersion}}

Patricia Francezi
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 01, 2023

It can be the problem. I didnt notice the typo. 

Still a little strange, but this what I was able to get to work. 

One plural and the other singular.

AND fixversion = {{triggerissue.fixversions.name}}

This is the full JQL statement I'm using.  One works and the other does not.

project = CLEAD AND issuetype = Story AND Status not in (Done,Cancelled) AND Component = "Technology Integration" AND "Epic Link" = {{triggerissue."Epic Link"}} AND "fixVersion" = {{triggerissue.fixVersion}}   [Does not work]

project = CLEAD AND issuetype = Story AND Status not in (Done,Cancelled) AND Component = "Technology Integration" AND "Epic Link" = {{triggerissue."Epic Link"}}   [Works]

0 votes
Patricia Francezi
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 01, 2023

Hi @Brandon Criger

It would be easier to answer if you provide more details. 

What's the automation, value you want to get, your scenario. 

Post screenshots etx. 

Please see my latest post.  I didn't realize I was not replying.

The error message:

JQL search failed for some issues. This is most likely because the JQL with smart-values was not valid for this query:
"(project = CLEAD AND issuetype = Story AND Status not in (Done,Cancelled) AND Component = "Technology Integration" AND = AND LFFX-1 = LFFX-1) AND (project in (64103))" - Error in the JQL Query: Expecting a field name but got '='. You must surround '=' in quotation marks to use it as a field name. (line 1, character 121)
Patricia Francezi
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 01, 2023

Where are you using this JQL?

 

The error shows a different JQL where i can see some errors 

"(project = CLEAD AND issuetype = Story AND Status not in (Done,Cancelled) AND Component = "Technology Integration" AND = AND LFFX-1 = LFFX-1) AND (project in (64103))"

Your intented JQL

project = CLEAD AND issuetype = Story AND Status not in (Done,Cancelled) AND Component = "Technology Integration" AND "Epic Link" = {{triggerissue."Epic Link"}} AND "fixVersion" = {{triggerissue.fixVersion}} 

About the FixVersion, remember this is a list so the smartvalune need to be complemented with the property you want to pull 

 

References: 

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.fixVersions--

 

https://support.atlassian.com/cloud-automation/docs/examples-of-using-smart-values-with-lists/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events