I need to add multiple generator in my script,
like insert JQL query , group by, sort
I am able to execute Insert JQL query but same method is not working for group by.
Please give us some your valuable suggestions.
Phase is a text field.
//def params = [(CoreGeneratorParameters.FIELD_ID): Phase] as Map
def grouperId = generatorManager.createGenerator(CoreStructureGenerators.GROUPER_FIELD,Phase,structureId)
def generatorItem1 = CoreIdentities.generator(grouperId)
def forestSource1 = forestService.getForestSource(ForestSpec.structure(structureId))
forestSource1.apply(new ForestAction.Add(generatorItem1, 0, 0, 0)
I am trying to do this way, but it is not worked.
Hello @Egor Tasa _ALM Works_ ,
I did the same but it didn't given me appropriate result.
final fieldId = customFieldManager.getCustomFieldObjectByName("Phase")
def para = [(CoreGeneratorParameters.FIELD_ID):"Phase"] as Map
def grouperId = generatorManager.createGenerator(CoreStructureGenerators.GROUPER_TEXT, para, structureId)
def gen = CoreIdentities.generator(grouperId)
def fore = forestService.getForestSource(ForestSpec.structure(structureId))
Expected OUTPUT: Group by Phase: and all issue should moves to their respective phases
Above Code gives below output:
It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...
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