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

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?

1 answer

0 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

968 views 2 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you