Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

System Webhooks that sends a Teams message to a Channel - cannot be customized.

VLTKIM September 24, 2025

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.

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2025

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.

VLTKIM September 28, 2025

Created an automation rule - that when an issue is created in a project it should send a web request. 1.png

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. 

3.png

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.

 

VLTKIM September 29, 2025

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.


tried to pass the issue id and then build the link manually on Powerautomate:

"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.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events