Forums

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

Automation: Using python connect ro Jira and Make a screenshot of the burndown report

David Pleşu
Contributor
August 15, 2023

Hi,

I am thinking of a workaround, because we don't have subscriptions to reports.

I would like to get every week a image with the report -burndown chart.

In order to do this I would like to make a script in python that:

- will connect to jira.

- will access to the link of the report

- will make a screenshot of the image (relative xpath)

- will save the photo

- send the photo by email.

- schedule every week.

 

This script is a little bit complicated. 

I can't find the solution for this script, i tried selenium(i think is the best solution).

Please advise, or if someone have a similar script i will be glad.

Thanks in advance.

I will mention i am an administrator of jira.

Best Regards,

David.

1 answer

1 accepted

0 votes
Answer accepted
Ravi Sagar _Sparxsys_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2023

Hi @David Pleşu 

Instead of using headless browser to take a screenshot why not using Jira REST API, pull the data, dump it somewhere and build your own report?

I would just use Google App Script or Excel VBA to pull the data from Jira and build a report. Other options include using something like Power BI.

Jira reports are basic, if you are spending time building something complicated then I think it would be good to just build own reports.

Ravi

Suggest an answer

Log in or Sign up to answer