Hi Team,
i'm try to update build status in Bitbucket Cloud, while getting below error:
b'{"type": "error", "error": {"fields": {"state": ["\\"state\\" must be one of set([\'SUCCESSFUL\', \'FAILED\', \'INPROGRESS\', \'STOPPED\'])"]}, "message": "state: \\"state\\" must be one of set([\'SUCCESSFUL\', \'FAILED\', \'INPROGRESS\', \'STOPPED\'])"}}'
first, i get json dict by 2.0 REST API url like commit/9c6b706/statuses/build/2922406180584a718e4403c0b0ee95ae
then i put the same json without changing state, and get above error, could you help take a look? thanks!
Here is the documentation: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build
Did you try "INPROGRESS" or "INPROGESS"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.