I created a webhook that sends a Teams message to a specified Teams Channel.
The message is sent to the Teams channel but it doesnt have the link to the Jira service issue which triggered it.
How it was done: The Team's Channel webhook URL was entered into the Jira Project's automation "Send Web Request" step.
"Custom" was selected for the Web Request Body.
But the customized text is not posted to the channel
The system default message does not contain a link to the issue - so you have to manually copy the issue and go into the JIRA helpdesk and search for it.
The system default shows up even if I don't use a custom body but select "Issue Data (Automation Format)" or "Issue Data (Jira Format)". It doesnt change the body format. Selecting "Empty" gives a 411 error.
Hi @VLTKIM
If you sent a web request to the Teams API, what does this API endpoint expect and how does it need to be constructed.
Whenever you ask for help with an Automation Rule it will help us to help you if you provide:
1. what type of project is this (e.g., company-managed, team-managed, etc.),
2. images that show your complete rule.
3. images showing the details of any relevant actions/conditions/branches.
4. images showing the Audit Log details for the rule execution.
5. Explain where the issue is.
These questions are not for not willing to help, but to have community members understand on how automation works.
Created an automation rule - that when an issue is created in a project it should send a web request.
The URL to enter here is obtained when you go to the Team's channel and select Jira as the connector in the "manage channel" > settings tab.
In the Jira admin settings > webhooks I entered the URL obtained from the earlier step and specified a JQL query to only trigger for issues in a specified project (by setting project to equal a specific project key).
The Webhook settings page does not contain any other settings other than the events that trigger the webhook.
The message sent by the system webhook to the specified teams channel is:
Issue created: "TEST"
Jane Doe
Testing123
Issue type: Support
Priority: Medium
Status: Triage
Assignee: John Doe
Issue: TEST-12433
There is no link on the message where you can see the full description of the issue. There is no option to change the payload in the webhook settings.
"Issue: TEST-12433" should be a clickable link. but it's just text.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've also tried workflows and powerautomate using "post card in chat or channel", but the smartvalues {{issue.url}} sends an empty value.
The automation custom data body is:
{ "issue_created": "{{issue.created}}", "description": "{{issue.description}}", "url": "{{issue.url}}", "reporter": "{{issue.reporter.displayName}}", "type": "{{issue.issueType.name}}", "project": "{{project.name}}" }
The payload sent back is:
{
"issue_created": "...",
"description": "test",
"url": "",
"reporter": "name",
"type": "Support",
"project": "name"
}
tried to add: {{baseUrl}}/browse/{{issue.key}} into the automation.
"url": "https://yourdomain.atlassian.net/browse/@{triggerBody()?['id']}"
That did not work either.
The other teams message which is sent via JIRA cloud provides a link, but messages from Jira cloud are posted on the Jira cloud chat and not specific channels.
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.