Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

attilaerdei
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 19, 2018

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
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 29, 2019

What you are looking for is:

VariableDefinitionAccessor.getPlanVariables(PlanIdentifier plan)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events