How can I include the Issue Type in the payload for a Slack message that is created by Automation for JIRA?
Here's the payload that I'm using:
Hi name, {{issue.fields.issuetype}} <https://atlassian.net/browse/{{issue.key}}|{{issue.key}}> has been created with Priority of {{issue.fields.priority.name}}.
{{reporter.displayName}} created <https://.atlassian.net/browse/{{issue.key}}|{{issue.fields.summary}}>
Issue Description:
```{{issue.fields.description}}```
Thank you!
Hi Drew,
You need to access the 'name' attribute like this:
{{issue.fields.issuetype.name}}
For more information please see https://codebarrel.atlassian.net/wiki/spaces/AUTO4J/pages/27656216/Smart+Fields
Cheers,
Andreas
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.