Hello,
I would like to send my team all non-updated issues as an email once a week. For this I use LookupIssue and then want to display selected fields in the email. This works for everyone except priority. What am I doing wrong?
{{#lookupIssues}}
{{summary}}
{{key}}
{{status.name}}
{{project.key}}
{{priority.id}}
{{assignee.displayName}}
{{created.mediumDateTime}}
{{updated.mediumDateTime}}
<a>{{url}}</a>
{{/}}
Thank you.
hi @Ste Wright and @John Funk ,
Thank you very much for your help.
I have solved the problem now by doing it without lookupissue and with bulk processing option enabled. And that works.
Thank you again.
Hi Luisa - Welcome to the Atlassian Community!
Try using the custom field value for the Priority field instead:
{{fields.customfield_0000}}
Where 0000 is the ID of your priority field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @John Funk
So I already searched for theSmartValue and it's "priority". I used this page as a guide.
Find all available smart values for a Jira issue | Cloud automation Cloud | Atlassian Support
Is that what you mean? Or how can I find the id of my priority field?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, have you tried to drop the .id and just use {{priority}} or {{issue.priority}}?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @John Funk
Yes, I have tried both.
I've just tried doing it without lookupissue. Then the priority is displayed, but I get a separate email for each problem. So the problem lies in the combination of lookupissue and the priority field.
Now I am trying to display all issues in one email, and the only solution I have found is lookupissue.
I know the problem has changed, but do you have any ideas?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Luisa Seil
Is this in Cloud or DC?
What shows up for Priority? Or is it just blank?
And is there a reason you're using {{priority.id}} as opposed to {{priority.name}}?
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste Wright
We use DC.
It is blank.
I actually wanted priority.name. But that didn't work, so I tried priority.id, which doesn't work either.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Luisa Seil
I tried {{priority.name}} (albeit in Cloud) and it did work fine. I also tried {{priority}} which provided the ID.
Perhaps see if you can send an email with just the Priority field (still using Lookup Issues), not the others - and see what happens?
Ste
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.