Configure connection timeout in JSM Data Center email channel

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Learn how to change the email channel timeout settings using cURL when the default 5-second limit is insufficient.

Solution

Browser's requests

  1. Go to the JSM project Email requests > Mail channel configuration screen.

  2. Click the ••• on the right side of the channel details, then click the "edit" option.

  3. Open the "Developer console" of your browser and find the "Network" tab.

  4. Clear the network tab list entries for us to see only the requests we need.

  5. Don't change anything on the email channel settings and click the update button.

  6. Jira will send the update request with the same values as the original configuration on the email channel.

  7. You'll see the "update" request on the list in the developer network console.

  8. If you click the payload tab, you'll see the values sent for the update with a default timeout of 5000ms.

  9. Now, click the "update" request with the right mouse button, then select "copy" and "copy cURL".

  10. Open a text editor, paste the cURL, find the timeout setting, and change it to "20000" for 20 seconds.

  11. Don't change any other parameter, then copy the modified curl.

  12. Open a terminal on the same machine you're accessing Jira in the browser to use the same session login. Paste the modified cURL, then press Enter to send it to Jira.

That's it. The timeout will now be updated to the value you choose, and it will be kept in the database configuration even after restarts!

⚠️ If you change the setting on the UI, the value will return to the default 5000ms.

You can verify if the timeout update was successful via the database, as the timeout value is stored in the TIMEOUT column from the "AO_2C4E5C_MAILCONNECTION" table.

Updated on May 22, 2025

Still need help?

The Atlassian Community is here for you.