Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to export organization name to csv for building excel reports?

gbh2930 November 20, 2017

We use JIRA service desk for managing 1 application with multiple external customer organizations. We need to regularly create an issue status report per customer organization to share with each organization: how many tickets are open, in progress, waiting on customer, resolved, etc per week. Including graphs, pie charts and so on. So that the external organizations can see spikes in tickets in a regular report.

I have not come across any documentation re sharing reports with external customers? JIRA Reports seem to be for internal team purposes only?

So we are exporting all open customer issues to excel csv and we then create excel reports from that csv. We want to be able to filter the excel report data by customer name to create an individualised excel status report per organization for sharing with individual organizations.

However when - on the JIRA issue search screen - we "Export Excel CSV (all fields)", the only Organization identifying field in the exported csv is "Custom field (Organizations)" which is an ID number. The ID numbers are not helpful because it is difficult to tell which external organization a number is actually referring to. How can we get the Organization name rather than a number? 

At the moment, I cannot see a way to determine the organization name from the exported organization number; I do not even see this number on the JIRA screen listing the customer organizations. 

Ideally, we would like to export a name instead of an ID number but cannot see a way to do that?

Alternatively, is there a way to identify the organization name from the exported ID number? E.g. is there is a way to export an organizations list containing ID and Name?

3 answers

0 votes
Iohbha Kharbithai May 18, 2020

Is this feature plan anytime soon from the UI?

0 votes
Davide February 18, 2019

We're having a similar issue. This workaround is working for us though (thanks Tom!) -

Export it as HTML instead of CSV, open the HTML file in a spreadsheet program and then save it from there as a csv.

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2017

Alternatively, is there a way to identify the organization name from the exported ID number? E.g. is there is a way to export an organizations list containing ID and Name?

I don't have an answer for your preferred scenario, but as for this question, you can achieve this by means of the Jira Service Desk REST API (Server | Cloud) - here is the example response for a GET /rest/servicedeskapi/organization/{organizationId} call:

 

{
"id": "1",
"name": "Charlie Cakes Franchises",
"_links": {
"self": "http://host:port/context/rest/servicedeskapi/organization/1"
}
}

A call to GET /rest/servicedeskapi/organizations also includes the organization names right away, which seems preferable for your use case to "export an organizations list containing ID and Name":

{
"_expands": [],
"size": 1,
"start": 1,
"limit": 1,
"isLastPage": false,
"_links": {
"base": "http://host:port/context/rest/servicedeskapi",
"context": "context",
"next": "http://host:port/context/rest/servicedeskapi/organization?start=2&limit=1",
"prev": "http://host:port/context/rest/servicedeskapi/organization?start=0&limit=1"
},
"values": [
{
"id": "1",
"name": "Charlie Cakes Franchises",
"_links": {
"self": "http://host:port/context/rest/servicedeskapi/organization/1"
}
}
]
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events