hi every one
i want to use webhook to send sms massage when an incident accrued.
sms should have some values such as issue summary, created date and other custom field data.
now i can send sms only with a default sentences, for example: "A new incident is Created in jira".
i use this code to send web request:
{
"registerApplicationName": "Jira",
"priority": 1,
"type": "SERVICE_ANNOUNCEMENT",
"destinationClients": ["0123456", "0123456"],
"messages": [
{ "title": "A new incident is Created in jira",
"message": "xxxxxx"
}
]
}
i want it has other information such as summary and ...
how i can use this smart values in my code?
Hi @Rasa ,
Hi @Rasa ,
you can use
you can add following line into webhook payload to include the issue summary, created date, and other custom field data:
"message": "Issue Summary: {{issue.summary}}\nCreated Date: {{issue.created}}\nCustom Field Data: {{issue.fields.customfield_XXXXX}}"
Regards,
Bhushan
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.