The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Look up issues: priority

Lean Li
Contributor
March 1, 2024

Hi!

I'm sending a summary on critical issues to a slack channel but the {{priority.name}}- doesn'r return any value. What could be the problem here? This is my message:


{{#lookupIssues}}
Summary: {{summary}}
Issue: {{URL}}
Priority: {{priority.name}}
Status: {{status.name}}

{{/}}

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Lean Li
Contributor
March 1, 2024

Hi all!

I managed to solve this by changing the lookup issues to rule against issues in bulk documented here: https://confluence.atlassian.com/automation/run-a-rule-against-issues-in-bulk-993924653.html

This is the syntax:

 {{#Issues}}
Summary: {{summary}}
Issue: {{URL}}
Status: {{status.name}}
Priority: {{priority.name}}

{{/}}

Tarik Userli
Contributor
January 15, 2025

Thx that works for me too!

Like John Funk likes this
0 votes
Marc -Devoteam-
Community Champion
March 1, 2024

Hi @Lean Li 

It should be {{priority.name}}, according to the documentation

find-the-smart-value-for-a-field 

Lean Li
Contributor
March 1, 2024

Thank you for this response.

Unfortunately this doesn't help either.  The field value is this and with that syntax I'm still getting an empty value.

priority.png

Marc -Devoteam-
Community Champion
March 1, 2024

Hi @Lean Li 

Does the issue in the lookup have a priority value?

Otherwise I suggest to reach out to Atlassian Support.

Lean Li
Contributor
March 1, 2024

Yes, it does. I will, thank you!

 

Like Marc -Devoteam- likes this
0 votes
SAzaruddin.mp
Contributor
March 1, 2024

Hi Lean Li

{{#lookupIssues}}
Summary: {{summary}}
Issue: {{URL}}
{{#priority}}
Priority: {{name}}
{{/priority}}
Status: {{status.name}}

{{/}}

can you check this one it works

Thankyou

 

 

Lean Li
Contributor
March 1, 2024

Hi SAzaruddin_mp

Thank you for your response! Unfortunately this doesn't work.

The priority is not visible at all in the message now.

Like John Funk likes this
TAGS
AUG Leaders

Atlassian Community Events