Forums

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

Send Web Request Action to the Telegram Bot

roknet April 29, 2020

I have tried several ways to send a message to a telegram group when the customer created an issue. Telegram bot "SendMessage" is working fine but I want to send the issue data or custom data to the telegram group.

My Webhook URL is : http://api.telegram.org/botXXXXXXXXXXXXXXXXXXXXXXXXX/getUpdates.

This URL is working fine but this is just a text message. http://api.telegram.org/botXXXXXXXXXXXXXXXXXXXXXXXXX/sendMessage/chat_id=-XXXXXXX&text=test

Please find the attached picture of my setting screen and the Audit also showing "success" message.Community Issue_SendWebRequest.PNG

 

 

1 answer

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
April 29, 2020

Hi @roknet ,

You can do it with post request in the custom data part as below as long as your Webhook url accepts post http request.

Screen Shot 2020-04-29 at 21.45.05.png

roknet April 29, 2020

Hi,

Thank you for the help.

I have tried the same and no error coming even the audit log also showing success.

When I post same URL on web it is showing success.

Please find the attached screenshots.audit log1.PNGCommunity Issue_SendWebRequest1.PNGweb test1.PNG

Mehmet A _Bloompeak_
Atlassian Partner
April 29, 2020

You can not make a POST http request by typing the url on the browser. Once you type and enter the url in the browser, browser makes a GET http request. You should check if telegram api has http POST end point that you can send data.

roknet April 30, 2020

I have tried several ways but no luck. The telegram POST is working fine for others according to the forums.

roknet April 30, 2020

Hi @Mehmet A _Bloompeak_ 

Thank you for your support.

I don't think this is a Telegram issue since many people using POST on telegram to receive notifications.

JZD
Contributor
January 28, 2025

@roknet Did you found a solution for this. I am exactly at the same problem now.

Textmessage to our channel are working fine but i can't send something from the issue how described here to the channel. Only the text are working

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events