-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
1
-
Summary
When exporting issues via CSV, the Portfolio field "Team" is exported by ID rather than by name. While this format is better for further JIRA imports, it is not human readable and isn't helpful for those cases where the export functionality is used to produce reports.
Steps to Reproduce
- Create a Portfolio Project.
- Create a Team under the project. Ex: "Team Jira".
- Configure the scope, associating a team (and a board) to the project.
- Raise a ticket, assigning it to any specific team in the project previously configured.
- Go to the Issue Navigator and export the issue to CSV (All Fields).
Expected Results
You should see the team name under the "Teams" column.
Actual Results
You will see the Portfolio Team ID for the team configured for the issue(s) exported.
Workaround
Workaround 1:
- Open the HTML file in Excel.
- Copy the headers + data part in a new spreadsheet, then save it as CSV.
- The resulting CSV file will include the team name instead of the ID.
Workaround 2:
Export as CSV, obtain a list of TeamID -> Team Name mapping, then use Excel to VLOOKUP the ID to NAME
- Export the file to CSV
- Issue a REST API GET /rest/teams-api/1.0/team. , which provides a list of Team names and ID's. Transform this to a CSV. IF you have curl and jq available:
➜ logs curl -u jira_username:jira_password http://mars_jira/rest/teams-api/1.0/team | jq -r 'map({id,title}) | (first | keys_unsorted) as $keys | map([to_entries[] | .value]) as $rows | $keys,$rows[] | @csv' > output.csv
output.csv example:
"id","title" 1,"TEST board Team" 2,"TestSharedTeamName"
- Finally, add a new column in the issue export CSV, and use Excel's to VLOOKUP to map the Teams CSV ID to NAME
- is cloned from
-
JSDSERVER-5655 Export CSV - Ability to export Customer Organizations with their respective name instead of ID
- Gathering Impact
- is related to
-
JRASERVER-68666 Exporting issues to HTML including the Team portfolio field makes resulting file unopenable
- Gathering Impact
-
PS-42897 Loading...
- relates to
-
JSWCLOUD-19272 Exporting issues as CSV exports the "Team" field with the values from the "Jira Team" field instead of the name of the team.
- Closed
-
JSWSERVER-25248 Portfolio Team field should be a fully supported JIRA field
- Gathering Interest