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

Why Deployment release Flag's value is changed from APPROVED/BROKEN to INCOMPLETE?

After a Deployment, we usually click on "Approved" or "Broken" button on the Release to mark success / failure for the deployment. However, sometimes, I notice that the Flagged value in the Release History will be changed into INCOMPLETE after a few days.

Why is this value changed to INCOMPLETE? What are the possible reasons?

2 answers

Hello @Phan Thuc Anh,

...in the Release History will be changed into INCOMPLETE after a few days.

Could you please confirm whether the deployment was ever released? And do you have Bamboo Expiry set up? If artifact(s) of Deployment Version gets removed, release gets marked as incomplete.

Kind regards,

Rafael

Thank you @Rafael Sperafico. I think it must be the case when artifact(s) of Deployment Version gets removed. Is there any setting to change this behavior of overwriting the status?

Hello @Phan Thuc Anh,

I am afraid there is no setting to change this behaviour, however, you could make use of Bamboo's REST API to update the status:

https://docs.atlassian.com/atlassian-bamboo/REST/6.3.0/#d2e3091

# replace {username} to authenticate against Bamboo.
Username provided must have permissions over deployment
# replace {bamboo_base_url} e.g. http://localhost:8085
# replace {deploymentVersionId}
# replace {newStatus} e.g. UNKNOWN, APPROVED, BROKEN, INCOMPLETE

curl -k -u {username} -p \
-X POST {bamboo_base_url}/deploy/version/{deploymentVersionId}/status/{newStatus}

Kind regards,

Rafael

Thank you for your help!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

659 views 2 7
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