Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log" xmlns:email="jelly:email" >
- <jira:Login username="username" password="password">
- <!-- Run the SearchRequestFilter -->
- <jira:RunSearchRequest filterid="12345" var="issues" />
- <!-- Iterate over the issues -->
- <core:forEach var="issue" items="${issues}">
- <!-- Set body of email message -->
- <core:set var="emailMsg">
- Insert the body of your email message here.
- </core:set>
- <!-- Send email -->
- <email:email
- server="jira.company.com"
- from="noreply@company.com"
- to="${issue.assignee};${issue.reporter};random_email@company.com"
- subject="Inactive: (${issue.key}) ${issue.summary}" message="${emailMsg}"
- />
- </core:forEach>
- </jira:Login>
- </JiraJelly>
Add Comment
Please, Sign In to add comment