Log Work from Dashboard Gadget returns 400 HTTP Error
Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.
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
Problem
When trying to Log Work from the "Filter Result" gadget using the Triple Dot > Log Work it will return a 400 HTTP Error instead.
Diagnosis
- Check that in other ways of logging work to an issue is working without any issue
- The instance is installed with Tempo Plugin
- Look at the URL when the HTTP 400 Error appears and see if the URL is NOT like the following:
http://local:8119/jira7_11_2/secure/CreateWorklog!default.jspa?id=10001&returnUrl=http%3A%2F%2Fnasilemak.local%3A8119%2Fjira7_11_2%2Fsecure%2FDashboard.jspa%3FselectedIssueId%3D10001&atl_token=BE6Y-LKBE-OOOI-C168_fe30837e53222066a0ac4e1bffa6fd70877a96d5_lin
This is the expected URL shown when doing the operation.
- Try disabling Tempo and check if the option is missing or the feature could work properly.
Cause
The issue appears to be caused by the Tempo Plugin and the URL shown when doing the operation would not be like the above but will look like the following:
https://jira.domain.here/secure/&returnUrl=https%3A%2F%2Fjira.domain.here%2Fsecure%2FDashboard.jspa%3FselectPageId%3D10001%26selectedIssueId%3D10001&atl_token=<Token String Here>
Resolution
Update Tempo Timesheet Plugin to version 8.15.2 where the Bug is fixed. For more information, we can refer to the release notes below: