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

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

Suggest an answer

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

Atlassian Community Events