Hi there once again,
is there a way to block one subtask transition, to be invisible until the main ticket reaches a certain status?
Best regards
Jurica
Hi @Jurica Petricevic ,
To hide a transition on sub-task based on the status of it's parent ticket, you can use "Related Issues Status Condition (JMWE app)" condition on the desired transition of the sub-task workflow and configure it as shown below :
Alternatively, you can add "Scripted (Groovy) Condition (JMWE app)" condition on the desired transition of the sub-task workflow and add the below groovy script :
issue.parentObject?.status?.name == "In Progress"
Replace "In Progress" with the required status name of parent issue.
Thanks,
Suprija
i have tried the same but it does not work for some reason. Any tips?
Are the tickets related through default parent - subtask relation? or are they related to each other through any issue ink?
Can you test the scripted groovy condition for the affected sub-task and check if it returns true?
it gives me back false for some reason.
both types are our own handmade and are in a Parent-child relationship.
@Suprija Sirikonda _Appfire_ thank you very much for staying with me until we find a solution. It works perfectly when you tell me what to look out for.
I'm glad it works! Have a great day
Regards,
It looks like you're new here. Sign in or register to get started.