Create
cancel
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

Accessing plan variables at task creation time (populateContextForCreate())

Hey!

I'm working on a plugin and having a hard time accessing plan variables at task creation. 

I can access the variables at task execution with

taskContext.getBuildContext().getVariableContext();

But can't seem to find a way to do that at task creation time (populateContextForCreate()). Is there any way to do this?

Any help/guidance is appreciated!

 

Attila

1 answer

1 vote

What you are looking for is:

VariableDefinitionAccessor.getPlanVariables(PlanIdentifier plan)

Suggest an answer

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

Bamboo Data Center - Early Access Program 2

We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...

104 views 0 7
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