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

400 Bad Request - Tempo Worklogs API

Hello all,

I am using the Tempo Rest API - https://apidocs.tempo.io/#worklogs

 

I have constructed a very basic call within Postman and this works perfectly:

https://api.tempo.io/core/3/worklogs?to=2021-02-24&from=2021-02-23

I see data back and thats great.

I am now trying to build the same query using PHP for an app we use and when I construct the same query and send it to the API, I get a 400 Bad Request response back and I have no idea why. Everything looks to match the Postman query.

Here is my call:
https://api.tempo.io/core/3/worklogs?to=2021-02-24&from=2021-02-23

Here is the exception showing the exact URL being called:
Screenshot 2021-02-24 at 14.36.55.png

My Authorization header is the exact same as the one in Postman (omitted due to token).

I have no idea why this is and it is bugging me, can anyone help at all?

Thanks,
Daniel

1 answer

Hi @Daniel Oates

can you share the PHP script that you are using?

BR

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
Read article

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