Hi,
I want to use a condition with Jira expression.
I want something like this: if the user is current reporter or user is accountid can transition this. i write this but its not working
user.accountId == issue.reporter.accountId || User.accountId == 1000a0000a000a000
Hi Nodar,
You were almost there, here is the expression that should work as you want:
user.accountId == issue.reporter.accountId || user.accountId == "1000a0000a000a000"
The only two differences are that a) user must always be written in lower case and b) that the accountId-string must be in quotation marks.
Hope that helps,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.