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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot