Hi all, we have small plugin in our company for reports generation in needed format. We use tempo API to get worklogs but we have 3-4 JIRA.
When I build request to Tempo API:
xhr.setRequestHeader("Authorization", "Basic " + btoa(config.credentials.email + ":" + config.credentials.password));
jirahostUrl1 + '/rest/tempo-timesheets/3/worklogs?datafrom=someDate&dateTo=someDate'
First JIRA sent worklog response for logged in user (credentials in request header), but second sent worklog response for ALL users.
If I make request like this:
jirahostUrl1 + '/rest/tempo-timesheets/3/worklogs?datafrom=someDate&dateTo=someDate&username=someUserName''
Second JIRA sent worklog response for logged in user, but another JIRA sent response an empty array.
What I do wrong here? Maybe we need change some JIRA settings/premissions?
G’day everyone! Super exciting news coming from the Marketplace. We have now fully rolled out the ability for end-users to submit app requests to admins directly from within the product! No longer ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events