Hi,
Are there a way to use multiple if conditions inside one lookupissue block?
I want to have priority as a slack emoji so I tried this:
{{#lookupIssues}}
<{{url}}|{{key}}> {{#if (equals issue.priority.name, "P0 - Blocker")}}:p-blocker: {{/}}{{#if (equals issue.priority.name, "P1 - Critical")}}:p-critical:{{/}}{{#if (equals issue.priority.name, "P2 - Major")}}
-major:{{/}}{{#if (equals issue.priority.name, "P3 - Minor")}}:p-minor:{{/}} {{assignee.displayName}}: {{summary}}
{{/}}
But it doesn't work, priority is missing in a message.
Are there any way to do this?