Forums

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

I want to download the ticket data?

Rahul Kumar August 6, 2018

Hi Team,

Kindly guide me how can I configure/get or download all the ticket data in CSV which includes information like SLA,ticket creation,updation/modification & all the necessary ticket details.

I am using JIRA service desk on a server.

4 answers

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 7, 2018

It's not quite so simple to export this SLA data today.   While you can display this data in the issue navigator of Jira, as you have noticed, when you export this the SLA data is not being included.  There is an existing feature request for this in https://jira.atlassian.com/browse/JRASERVER-62457

I am speculating that the reason for this is that the SLA data doesn't appear in this CSV file is because it is much more complex to store these values in the database.  SLAs are counting time values that are constantly changing.  But these events are being stored in the "AO_54307E_SLAAUDITLOG" table of the Jira database.

But these are using a unix epoch time event field to store the specific time of the event, such as issue creation, completion, or breach of event, etc.    I don't have a clear way to compute the values in this table to show this specific SLA metric into a CSV file.   If you have someone that is very skilled in database administration, they might be able to make more sense of the data in those tables to create a script that might be able to display these data values.

However you might take a look at the Service Desk REST API on SLAs

https://docs.atlassian.com/jira-servicedesk/REST/3.6.2/#servicedeskapi/request/{issueIdOrKey}/sla-getSlaInformationById

It might be possible for you to create a script that could make a series of REST calls to the issues / SLA in question and grab that information into a json formatted file.  I know this is not as simple as having a single CSV file with the data for each issue in Jira, but with the way the data is stored today, and the fact that the feature request does not appear to be coming any time in the near future right now, if you really need this data in that format, it is probably going to take some considerable scripting to accomplish.

0 votes
Rahul Kumar August 7, 2018

Hi Team,

 

Kindly let me know how can I export SLA data.

0 votes
Rahul Kumar August 6, 2018

@Nic Brough -Adaptavist-

Hi Nic,

 

Could you please suggest me how can I download the data of SLA met vs breached data.

0 votes
Nic Brough -Adaptavist-
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 6, 2018

Go to search -> export

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events