Error communicating with the API - Automation for Jira

Shah Baloch
Contributor
February 25, 2022

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.
March 6, 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.
March 5, 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

Shah Baloch
Contributor
March 7, 2022

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.
March 8, 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
Shah Baloch
Contributor
March 8, 2022

Thank you

App Admin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 24, 2022

Did you ever find a resolution to this? 

Like Shah Baloch likes this
Shah Baloch
Contributor
March 24, 2022

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.

Finnegan_ Brian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2022

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

Jake C
Contributor
June 2, 2023

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

David Laine
Contributor
October 15, 2024

Yes, I am seeing exactly the same thing.

 

How are we expected to update these webhooks from the old version by the 31st December 2024, if the new solution does not work.

 

Atlassian, please fix asap, otherwise we are all going to be stuck come 31st December (only 11 weeks away!)

 

Reverting to the old connector webhook method, rather than via a workflow, until resolved.

 

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events