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.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.