Hi Atlassian Community!
I wonder how I can get the project lead of an issue in a workflow condition with scriptrunner. I know scriptrunner only supports expressions and no API calls in conditions in Jira Cloud.
But I'm unable to fetch the project lead. My goal is to only allow a certain transition by the project lead.
I tried this and other variants but none of them work
user.accountId == project.lead.accountId
Any help is appreciated!