Hello,
I'm currently working on implementing a solution for a Jira environment, and need to restrict visibility to certain UI elements to only the global administrator. We have additional admins that we do not want accessing that specific configuration screen. How can I get the currentUser and basically say if the currentUser equals 'specific user', show the option, otherwise hide it?
Thanks!
Hi @Jagadish
Take a look at the answer from @Denis Blanchette gave to this question:
Solved: How to get list of worklogs through JIRA REST API (atlassian.com)
HTH,
KGM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I looked at those answers but none of them have a clear solution on how to get the status of the tempo timesheet .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please take a look at https://www.tempo.io/server-api-documentation/timesheets#tag/Timesheet-Approval for information about the available REST API's for the approvals in Tempo.
It is also possible to get the approval status of worklogs with the Tempo Servlet (https://tempo-io.atlassian.net/wiki/spaces/THC/pages/649200068/Tempo+Servlet+Manual+-+Tempo+Server)
By adding the "addApprovalStatus=true" parameter to the URL, information about the approval status is added to the response.
Best regards,
Susanne Götz
Tempo team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.