Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Error communicating with the API - Automation for Jira

I set up automation whenever a high-priority issue gets created in a project it should send a notification to a team in MS Teams. However, I'm getting the below error when the rule run.

Error communicating with the API
408 - {"errorMessage":null,"message":null,"warningMessages":[],"errorMessages":["Request timed out."],"errors":{},"status":408}

 Here is the JQL when it passes then it should trigger the notification:

project = "SUP" AND status = Open AND priority = High AND created >= -5m

Any idea why I'm getting the error and how can I fix it?

Thank you

Automation_02252022_03.JPGAutomation_02252022_02.jpgAutomation_02252022.jpg

2 answers

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 06, 2023

There is an existing bug we are tracking in regards to this behavior over in https://jira.atlassian.com/browse/JIRAAUTOSERVER-474

While we do not have a clear workaround for this yet, I'd recommend watching that bug ticket for updates to this.

0 votes
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.
Mar 05, 2022

Hi @Shah Baloch 

Did you first setup things on the MS Teams side to receive things?  If not, please take a look that the steps in this documentation:

https://support.atlassian.com/cloud-automation/docs/use-automation-with-microsoft-teams/ 

Kind regards,
Bill

Yes, I followed the documentation I got the webhook URL from ms teams and that is the URL I'm using for automation.

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.
Mar 08, 2022

Thanks for that information.  

I have seen some reports of intermittent errors like that.  If it is consistently showing that error, please work with your site admin to submit a ticket to the Atlassian support team to see what they can find: https://support.atlassian.com/contact/#/

Like Shah Baloch likes this

Did you ever find a resolution to this? 

Like Shah Baloch likes this

No, I didn't find a proper resolution yet. I removed rules, regenerated a new webhook URL, and created the rule again. I still get the error when it triggers the first time every day. I mean after a first trigger it works fine for the rest of day, the next day I get the error again once it runs.

I'm seeing exactly the same behavior and error code with Jira Automation and Webhook to MS Teams channel. 

We have the same issue, anyone found anything on this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events