Hi,
I am trying to see what's wrong with the scriptrunner syntax - trying to put it in workflow validate
Hi @Saira ,
You can select an issue > click Test > click View result for more script validator log.
Your script currently wrong syntax, it should be issue.parent.assignee.accountId != issue.assignee.accountId
If your issue-parent is issue - sub-task.
Hope this helps!
that did help!
But now I want to implement similar test for reporter
so I used
issue.parent.reporter.accountId != issue.assignee.accountId
but it does not prevent transition
nvm it worked!
what should i add to check if the assignee is not null for either child or parent task?
a workflow validator can help you on that during transition opertion. Btw, a ticket could be reassigned through an assign operation that doesn't involve a validator.
It looks like you're new here. Sign in or register to get started.