Rules with a lot of JQL conditions can timeout APIG requests

Description

If you have a rule say with 10+ jql conditions (or other validators that need to talk to Jira), then this can take longer than 30 secs to process. API has a 30 second request limit.

We should make a few changes here:

  • Set Router timeout after 30 secs since there's no point in processing longer requests (would flag more problems and save some $$)

  • Remove slow validators. There's not much we can do here. The audit log would show the error anyways and we have client-side validation already for things like JQL

  • Check all validators.

  • Fix client-side code to handle timeouts and display an error!

Environment

None

Status

Assignee

Andreas Knecht

Reporter

Andreas Knecht

Links

1

Fix versions

Priority