Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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 does the plan key have job name appended to it.

I am writing a Bamboo plugin. The PlanKey get the I get from the context "public boolean shouldDisplay(Map<String, Object> context)" is TPRO1-TPLAN1-JOB1.

PlanKey planKey = PlanKeys.getPlanKey((String) context.get("planKey"));

why does it have the job id appended to it? 

Should it not only be the plan key i.e TPRO1-TPLAN1?


1 answer

You can have multiple jobs within the same plan. And each job can run in parallel, acting as if they are different mini-plans. Most of the time, you will need the job id as well when you automate something, if it has to work in all scenarios.

If I remember correctly, PlanKeys has other methods to retrieve different parts of the full key.

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

210 views 0 4
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