bamboo client command, cannot use disablePlan on a plan branch

Greetings,

I wanted to disable a child branch as follows but got an exception that the plan was not found. I suspect, that the initial check does not expand the search to branches. How could I enable this?

this works:

./bamboo.sh -s https://XXXXX.jira.com/bamboo -v -a getPlan --plan=BENTO-REL0

but the following produces an exception (interesting enough the command insists on --build, although in the doc --plan is specified):

./bamboo.sh -s https://XXXXX.jira.com/bamboo -v -a disablePlan --build=BENTO-REL0

Error is:

Response code: 200, message: OK, url: https://XXXXX.jira.com/builds/rest/api/latest/plan?os_authType=basic&max-results=1000
Looking for plan BENTO-REL0: BENTO-MASMER
Looking for plan BENTO-REL0: BENTO-REL

Remote error: BENTO-REL0 not found.
org.swift.common.cli.AbstractRemoteClient$RemoteRestException: BENTO-REL0 not found.
	at org.swift.bamboo.cli.BambooClient.verifyKeyExists(BambooClient.java:2138)
	at org.swift.bamboo.cli.BambooClient.enableBuild(BambooClient.java:1603)
	at org.swift.bamboo.cli.BambooClient.enablePlan(BambooClient.java:1591)
	at org.swift.bamboo.cli.BambooClient.enablePlan(BambooClient.java:1579)
	at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:398)
	at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)
	at org.swift.common.cli.CliClient.doWork(CliClient.java:313)
	at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:104)

Any help would be highly appreciated!

Thanks,
Dan

1 answer

1 accepted

  1. Open an issue for the terminology problem. It should be plan but build will continue to work as there is ambiguity between terms plan and build.
  2. Child branch - needs an improvement request to support I suspect. Get it documented as there is a release coming soon and it can probably get in.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

72 views 0 11
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