Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is there a way to change a large number of artifact details for bamboo tasks


First a little background.

We use bamboo jobs to deploy applications to an environment.

each of our environments consists of approx 25 different apps/services,etc that are all part of the Deploy to an environment.

We typically go from QA to Staging to production but also have a couple QA environments from testing different releases/diff. branches at the same time.

so today we have INT1 to QA1 to Staging for a release that goes out next week.

the release after is in QA2 so it would be INT2 to QA2 to Staging in a month from now roughly.

I have staging currently set to pull buildnumbers and some other artifacts from QA1.  in 3-4 weeks I will need to switch all of those artifact pulls to get buildnumbers and other artifacts form QA2.

currently it takes me 30-40 minutes to change all those artifact pulls each time.

Is there a way to bulk change these?   Do I need to do this with a sql script (which I dont prefer to do but can)?


I have other environments like staging that also have to pull from QA1 or QA2 depending on the release schedule and time.


Important note

We have configured these 25 deploys per env to have 2 different artifact pulls in the job.  One is set to pull from QA1 the other is set to pull from QA2 but at any given time, only 1 of these is enabled and the other disabled.




1 answer

I was able to see that the artifact task is actually defined and enabled in xml_definition_data.


Now have to find if there is a way to call an api to set that.  doing this via sql is not going to be helpful.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

961 views 3 8
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