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

BitBucket: changes made via REST API calls are eventually consistent

neomatrix369 June 25, 2019

What is the recommended practise when using the REST API calls, I have noticed any mutations to the repo are reflected only after a short delay, this delay differs each time.

What I mean by that is if I close an existing pull request and then create a new one via the REST API calls, and then if I immediately request for a list of Pull Requests, I don't see the newly created PR appear in the results till say after 5 to 15 seconds (varies).

I guess returning a future and then resolving the future is the way forward, any examples of how others have done this? Or any examples from Atlassian itself?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events