When there is a timesheet on the Jira dashboard there are two error logs in browser's console. Although they don't affect anything, they are polluting logs.

Description

Neither AJS.param.loggedInUser nor AJS.$("#worklogpro-current-username").val() works as expected and the add-on can't access currently logged in user. After the timesheet is loaded AJS.params.loggedInUser becomes accessible. $(context).find("#worklogpro-current-username") works. The reason AJS.$(...) doesn't work is gadgets are loaded inside an Iframe.

Environment

None

Priority

Minor

Assignee

Deniz Oğuz

Reporter

Deniz Oğuz

Affects versions

None

Fix versions

Labels

None

Source

None

Jira Version

None

Database Type/Version

None

Browser Type/Version

None
Configure