The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

WEB request

Abraham Jacob
August 8, 2024

 

I want to receive notifications in Telegram messenger. I configure it via automation with a web request. Here's my code:

 

{ "chat_id": "XXXXXXXXXX", "text": "Статус: {{issue.status.name}}\nТема: {{issue.key}} - {{issue.summary}}\nИсполнитель: {{issue.assignee.name}}\nДедлайн: {{issue.dueDate.name}}" }

I am able to display only the status and topic fields. But the performer and deadline fields are not displayed

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Rudy Holtkamp
Community Champion
August 8, 2024

Hi @Abraham Jacob & welcome to the community,

For these fields:

  • {{issue.assignee.name}}
  • {{issue.dueDate.name}}

You should use:

  • {{issue.assignee.displayName}} or {{issue.assignee.emailAddress}}
  • {{issue.dueDate}} or any format you want see here

I hope this helps.

Regards,

Rudy

Abraham Jacob
August 8, 2024

I already tried it, it still doesn't work

Rudy Holtkamp
Community Champion
August 8, 2024

Could you add a 'audit log' action and log {{issue.assignee}} and {{issue.duedate}}?

Bill Sheboy
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 Champions.
August 8, 2024

Hi @Abraham Jacob -- Welcome to the Atlassian Community!

Adding to Rudy's suggestions...

Context is important for automation rule questions.  Please also post:

  • an image of your complete rule (in one image) and
  • an image showing the request data for your Send Web Request action

Those may help to explain what you are observing.  Thanks!

Kind regards,
Bill

0 votes
Abraham Jacob
August 8, 2024

help me write the request correctly

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events