Guest User

Untitled

a guest
Mar 29th, 2017
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:log="jelly:log" xmlns:email="jelly:email" >
  2.  
  3. <jira:Login username="username" password="password">
  4. <!-- Run the SearchRequestFilter -->
  5. <jira:RunSearchRequest filterid="12345" var="issues" />
  6. <!-- Iterate over the issues -->
  7. <core:forEach var="issue" items="${issues}">
  8. <!-- Set body of email message -->
  9. <core:set var="emailMsg">
  10. Insert the body of your email message here.
  11. </core:set>
  12. <!-- Send email -->
  13. <email:email
  14.  server="jira.company.com"
  15.  from="noreply@company.com"
  16.  to="${issue.assignee};${issue.reporter};random_email@company.com"
  17.  subject="Inactive: (${issue.key}) ${issue.summary}" message="${emailMsg}"
  18. />
  19. </core:forEach>
  20. </jira:Login>
  21.  
  22. </JiraJelly>
Add Comment
Please, Sign In to add comment