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
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

207 views 6 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you