How to get login of issue`s creator in workflow?
I want to permit creator of issue to move issue to the end state of worflow ({Verified}). And for other users it should be prohibited.
So I need to get creator`s login to compare it with loggedInUser.login in workflow. But I haven`t found any field like issue.creator.login.
So? How to get login of issue`s creator in workflow?
So I need to get creator`s login to compare it with loggedInUser.login in workflow. But I haven`t found any field like issue.creator.login.
So? How to get login of issue`s creator in workflow?
Please sign in to leave a comment.
rule restriction when State.becomes({Verified}) { assert reporter.login.eq(loggedInUser.login, opts): "Only issue reporter can move issue to state 'Verified'"; }