Problem - logging time with currently logged in user


We are creating an app to log time from the app to a Jira issue. We are making a POST API call to /worklog. We have it logging to an issue, but the problem is that it is not logging work for the currently logged in user. Instead, it logs the work under a user that Jira created for the addon, called “addon_(addonName)”, where addonName is our addon.

Is there anything special we need to do to either authenticate the current user or change the author who we are logging to?

Zachary Griggs

Hi Zach,

As an Atlassian Connect app by default all actions will be handled by the add-on user. You can however use the OAuth2 authorization grant to act as user.

Check out this documentation