I want to. create a slack message as below but the {{issue.organization}} does not work. Any thoughts on how to fix this ?
Dear Support Team,
This issue:{{issue.key}} was from {{issue.reporter}} from {{issue.organization}} was created.
Here is the summary:
{{issue.summary}}
Here are the details:
{{issue.description}}
Best,
JSM Admin
Hi @albert_pinto ,
The Organization field can contain multiple values, so you'll need to give the Smart Value a pointer on which one to fetch. If there's only one set, you can simply use
{{issue.Organizations.first.name}}
to do it. That fetches the first value in the list, and references the name value for the object.
If you need to return multiple ones however, this previous post on Community has some additional help for using the asJsonObject function to get all the values from the field.
Cheers,
Daniel
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.