I am trying to display project lead in a Scripted custom field.
Any help would be appreciated.
What does the tooltip show when you hover the cursor over the red cross to the left?
This one works fine for me
issue.getProjectObject()?.getProjectLead()?.getDisplayName()
What is your Jira version and what is the error?
Thank you very much @Nic Brough -Adaptavist- @Alexey Matveev
Here is what worked for me:
issue.getProjectObject()?.getProjectLead()
@Nic Brough -Adaptavist- surprisingly now it is not showing the red cross. It is now throwing a warning if I use the initial script.
Below is the warning:
getLead is deprecated and will go away in a later version. It's just warning you that you should not use it. Try .getProjectLead instead
It looks like you're new here. Sign in or register to get started.