alfeugds/jiraworklogtool

It is not possible to open the tool, even when user is logged in

Closed this issue · 0 comments

Some Jira instances don't return the X-AUSERNAME header in the response anymore, thus breaking the code.
I think it is due to a change in Jira to be compliant with GDPR (reference).

Now we need to consider another response header to link the user with the worklog author.
The x-aaccountid seems to be the best candidate for it.

The logic to link the user should check if any of the headers are present, and just add another validation for the new header x-aaccountid, while preserving the existing link logic.