Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

automatic pdf email sender

Adam Wojak March 5, 2018

Hi,

I'm trying to set an automatic email sender that will generate monthly raports per projects (i need to see: project, issue, worklog day, worklog reporter and time spent) and automatically send it to certain email address. I installed Work Time Calendar which works perfect (imgur), but i have to generate raport then download it and then send it and it takes a lot of time when there is a lot of projects.

I installed JIRA PDF View Plugin + Automation Lite For Jira + PDF Automation Plugin For JIRA, but it doesn't work as i would like to, it sends one issue in one page so when it's 300 pages with 300 issues, that's too much. I used in project automation "worklogDate <= 31d", but some months have less than 31 days and it probably won't work perfect.

1 answer

1 accepted

1 vote
Answer accepted
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2018

Solution to both of your problems:

it sends one issue in one page so when it's 300 pages with 300 issues, that's too much. 

PDF View Plugin enables you to customize the PDF template with insane flexibility. So, you can include the issue details you are interested in and exclude the rest. And you can remove the page breaks, as well.

(We are the developer of the app, so please feel free to ask us.)

I used in project automation "worklogDate <= 31d", but some months have less than 31 days and it probably won't work perfect.

JQL offers you a smart functions like startOfMonth(), endOfMonth(), etc.

See: https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-functions-reference-764478342.html

With this, your query would be something like:

worklogDate >= startOfMonth()

 

Adam Wojak March 6, 2018

But let's say that i want to send February's raport on 5th of March, using startOfMonth() would give me issues with worklogDate reported from 1st to 5th March, right?

Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2018

You can use an "offset" argument with startOfMonth().

That way startOfMonth(-1) defines the start of the previous calendar month, while endOfMonth(-1) defines the end of the previous month.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events