-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
6
-
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
-
- Closed
-
-
PS-42897 You do not have permission to view this issue
- relates to
-
JRACLOUD-88551 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
- links to
[JSWSERVER-25217] Export CSV - Ability to export Team field by name rather than ID
Support reference count | Original: 1 | New: 6 |
Labels | Original: Plan-Export | New: Plan-Export ril |
Remote Link | New: This issue links to "Internal ticket (Web Link)" [ 979712 ] |
UIS | Original: 0 | New: 1 |
Component/s | Original: Filters & Search [ 45590 ] | |
Component/s | New: (Advanced Roadmaps) Plan - Share / Export [ 63499 ] | |
Key | Original: JPOSERVER-3012 | New: JSWSERVER-25217 |
Project | Original: Advanced Roadmaps [ 16510 ] | New: Jira Software Server and Data Center [ 12200 ] |
Labels | Original: orange pse-request | New: Plan-Export |
UIS | Original: 1 | New: 0 |
Description |
Original:
h3. 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. h3. 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). h3. Expected Results You should see the team name under the "Teams" column. h3. Actual Results You will see the Portfolio Team ID for the team configured for the issue(s) exported. h3. 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|https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1] 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: {code:java} ➜ 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 {code} output.csv example: {code:java} "id","title" 1,"TEST board Team" 2,"TestSharedTeamName"{code} # Finally, add a new column in the issue export CSV, and use Excel's to [VLOOKUP|https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1] to map the Teams CSV ID to NAME |
New:
h3. 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. h3. 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). h3. Expected Results You should see the team name under the "Teams" column. h3. Actual Results You will see the Portfolio Team ID for the team configured for the issue(s) exported. h3. 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|https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1] 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: {code:java} ➜ 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 {code} output.csv example: {code:java} "id","title" 1,"TEST board Team" 2,"TestSharedTeamName"{code} # Finally, add a new column in the issue export CSV, and use Excel's to [VLOOKUP|https://support.microsoft.com/en-us/office/vlookup-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1] to map the Teams CSV ID to NAME |
Dear all,
I would like to inform you that this issue in the project JPOSERVER is being migrated to the new project JSWSERVER. Your votes and comments will remain unchanged.
Our team at Atlassian will continue to monitor this issue for further updates, so please feel free to share your thoughts or feedback in the comments.
Sincerely,
Aakrity Tibrewal
Jira DC