JMWE Throws Error Unexpected Response: 503

JMWE Throws Error Unexpected Response: 503

Problem

A JMWE automation fails with this error: “This Jira instance is currently under heavy load and is not able to process your request. Try again in a few seconds. If the problem persists, contact Jira support.”

Further Description

There are no limitations to the number of JMWE Extensions that can be added to a Jira instance. Furthermore, JMWE does not impose any hard limits on the number of requests. This is a feature that sets JMWE apart from any other automation solution for Jira Cloud. However, Atlassian does impose limits on the frequency of requests and will return a “heavy load” error if requests exceed the constraints imposed by Atlassian.

Jira Workflows are designed in such a way that they will not wait for the completion of requests before executing the next request in the queue. Because of this, it may not be possible to complete requests in sequence with the Jira Workflow. However, if JMWE encounters such errors, it will attempt the request at a later time. If the load of a particular instance persists for a significant amount of time, JMWE will not be able to complete the request. However, unrecoverable errors are rare.

Note: If it is critical to execute post functions in a specific order, use the Sequence of post functions post function or a Shared action. Both of these will run their included post functions in the order they are included, and can be configured to stop if encountering errors.

Using Webhooks to Capture Errors

A webhook can be used to send errors and warnings for your JMWE post functions and actions to external applications for monitoring or other processing. Please see the section “Send errors and/or warnings to a Webhook” here:

JMWE Logs | Send errors and/or warnings to a Webhook

Please note that you can send ERROR- and WARN-level logs with this functionality but not INFO-level logs.

Accessing Atlassian Usage Reports

For complete details on accessing Atlassian automation usage, see this documentation page:

https://support.atlassian.com/cloud-automation/docs/view-your-automation-usage/

Here is the URL to access the automation usage report:

https://<INSTANCE_NAME>.atlassian.net/jira/settings/automation#/tab/new-usage

 Related articles