Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Tempo - How to restrict Write/POST via Rest API

Hi,

 

I'm using  Jira server where we have a Tempo plugin, I wonder if it's possible to restrict the POST "option" via API.

 

I need to give someone access to read all our work logs...but if I'm doing it by API token, then that person will be able to write data....which we don't want.

 

Any other suggestions are welcome.

 

\Thanks/.

2 answers

0 votes
Alexis Robert Community Leader Jan 20, 2021

Hi @Albert , 

 

I don't think you can do this dircetly with Tempo (there is no option to restrict API calls), however since you're on Jira Server you can manage this at the reverse proxy level : you will be able to restrict what IP address for example can reach a specific URL, like jira.company.com/rest/tempo-timesheets/ or even what methods are available (POST, GET, etc).

 

This would most likely be done by your network or system admin team.

 

Let em know if this helps, 

 

--Alexis

Hi @Albert

the API token for the Servlet (Server/DC only) will allow you do a query for all worklogs but you can´t use it to do a POST request to create a worklog. At least the POST request is limited to the users permissions and can only be consumed with basic authentication.

BR

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you