Hi Community,
I have created a custom email template in post function Send custom email using scriptrunner.
In Condition section, I want to pass a condition that the custom email should only go to Reporter of the current issue. Need help how to write the correct condition regarding Reporter.
In Email Template, I want to pass a url where user can directly land on Issue Edit screen (/secure/editissue!default.jspa?id=${issue.id} and he can also access his own Dashboard (secure/Dashboard.jspa?selectPageId=XXXXX
I am able to fetch ${issue.id} for Issue Edit screen which automatically reflects the value once the issue is created.
I am facing difficulties to pass dynamic dashboard.jspa?selectPageId= in custom email.
Is there a way I can fetch the correct smart value or Syntex to call dashboard.jspa?selectPageId= in custom email template?
Or how can I achieve this using jira automation?
Thank you