Look up issues: priority

Lean Li 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

0 votes
Answer accepted
Lean Li 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}}

{{/}}

0 votes
Marc Koppelaar
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 1, 2024

Hi @Lean Li 

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

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

Lean Li 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 Koppelaar
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 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 March 1, 2024

Yes, it does. I will, thank you!

 

Like Marc Koppelaar likes this
0 votes
SAzaruddin_mp 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 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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events