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?
0
2 comments
Please use issue.reporter value or even just reporter.

rule restriction 
 
when State.becomes({Verified}) { 
  assert reporter.login.eq(loggedInUser.login, opts): "Only issue reporter can move issue to state 'Verified'"; 
}
0
Avatar
Permanently deleted user
Thanks, I got it.
0

Please sign in to leave a comment.