I am just getting started using JIRA automation for JIRA Premium in the cloud.
I would like to be able to automatically set the assignee for an issue upon specific transition to the project lead and to email that project lead.
However, looking at the smartvalue for {{issue.project.lead}} in a debug rule I set up, those values are null, even though my project has a lead set (me for my test project) and they have email addresses set up in their profile. (of course all projects have it as a required field).
Any help? I'd like to be able to access who is the project lead for any issue and be able to assign them, email them and possibly tag them in a new comment, set them as a watcher etc, in different circumstances/rules that I may make.