I have basic knowledge of scriptrunner so I want to create a email notification in a postfunction when an Issue is blocked in Jira cloud.
issue.priority.name in ['Critical', 'Blocker']
Dear ${issue.assignee?.displayName},
The ${issue.issueType.name} ${issue.key} with priority ${issue.priority?.name} has been assigned to you.
Description: $issue.description
How can I complete the rest of the code ?
Regards
Time to up your Loom game! The new Loom Essentials Certification is here! Show off your skills, learn pro tips, and get officially recognized. Perfect for taking your video messaging to the next level.
Learn moreOnline 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.