-
Bug
-
Resolution: Fixed
-
Low
-
8.0.0
-
Severity 2 - Major
-
Issue Summary
As part of 8.0 we introduced two new BuildStates Cancelled and UNKNOWN but the documentation for POSTing buildstatuses was not updated accordingly:
https://developer.atlassian.com/server/bitbucket/rest/v811/api-group-builds-and-deployments/#api-api-latest-projects-projectkey-repos-repositoryslug-commits-commitid-builds-post
It does not mention the two new statuses. The Swagger docs for
com.atlassian.stash.internal.build.status.rest.BuildStatusResource#addBuildStatus needs to be updated
Steps to Reproduce
Expected Results
All valid statues are listed so that I know which ones I can send
Actual Results
I can only see the
SUCCESSFUL, INPROGRESS. and FAILED
Workaround
Post CANCELLED or UNKNOWN for build state and it works, but the documentation does not help me find this out (and as such I may not know if it is actually a supported state)