Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a04b33d6
Commit
a04b33d6
authored
Mar 08, 2022
by
Ömer Bahadır Orhan
Committed by
Natalia Tepluhina
Mar 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export Csv Update
parent
6fb28081
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
9 deletions
+17
-9
app/services/issues/export_csv_service.rb
app/services/issues/export_csv_service.rb
+2
-2
app/services/merge_requests/export_csv_service.rb
app/services/merge_requests/export_csv_service.rb
+2
-2
doc/user/project/issues/csv_export.md
doc/user/project/issues/csv_export.md
+7
-3
doc/user/project/merge_requests/csv_export.md
doc/user/project/merge_requests/csv_export.md
+6
-2
No files found.
app/services/issues/export_csv_service.rb
View file @
a04b33d6
...
...
@@ -23,11 +23,11 @@ module Issues
def
header_to_value_hash
{
'Title'
=>
'title'
,
'Description'
=>
'description'
,
'Issue ID'
=>
'iid'
,
'URL'
=>
->
(
issue
)
{
issue_url
(
issue
)
},
'Title'
=>
'title'
,
'State'
=>
->
(
issue
)
{
issue
.
closed?
?
'Closed'
:
'Open'
},
'Description'
=>
'description'
,
'Author'
=>
'author_name'
,
'Author Username'
=>
->
(
issue
)
{
issue
.
author
&
.
username
},
'Assignee'
=>
->
(
issue
)
{
issue
.
assignees
.
map
(
&
:name
).
join
(
', '
)
},
...
...
app/services/merge_requests/export_csv_service.rb
View file @
a04b33d6
...
...
@@ -13,11 +13,11 @@ module MergeRequests
def
header_to_value_hash
{
'Title'
=>
'title'
,
'Description'
=>
'description'
,
'MR IID'
=>
'iid'
,
'URL'
=>
->
(
merge_request
)
{
merge_request_url
(
merge_request
)
},
'Title'
=>
'title'
,
'State'
=>
'state'
,
'Description'
=>
'description'
,
'Source Branch'
=>
'source_branch'
,
'Target Branch'
=>
'target_branch'
,
'Source Project ID'
=>
'source_project_id'
,
...
...
doc/user/project/issues/csv_export.md
View file @
a04b33d6
...
...
@@ -52,7 +52,7 @@ export, after which the email is prepared.
## Sorting
Exported issues are always sorted by
`
Issue ID
`
.
Exported issues are always sorted by
`
Title
`
.
## Format
...
...
@@ -63,11 +63,11 @@ the values:
| Column | Description |
|------------------------------------------|-----------------------------------------------------------|
| Title | Issue
`title`
|
| Description | Issue
`description`
|
| Issue ID | Issue
`iid`
|
| URL | A link to the issue on GitLab |
| Title | Issue
`title`
|
| State |
`Open`
or
`Closed`
|
| Description | Issue
`description`
|
| Author | Full name of the issue author |
| Author Username | Username of the author, with the
`@`
symbol omitted |
| Assignee | Full name of the issue assignee |
...
...
@@ -85,6 +85,10 @@ the values:
|
[
Epic
](
../../group/epics/index.md
)
ID | ID of the parent epic, introduced in 12.7 |
|
[
Epic
](
../../group/epics/index.md
)
Title | Title of the parent epic, introduced in 12.7 |
In GitLab 14.7 and earlier, the first two columns were
`Issue ID`
and
`URL`
,
which
[
caused an issue
](
https://gitlab.com/gitlab-org/gitlab/-/issues/34769
)
when importing back into GitLab.
## Limitations
-
Export Issues to CSV is not available at the Group's Issues List.
...
...
doc/user/project/merge_requests/csv_export.md
View file @
a04b33d6
...
...
@@ -18,11 +18,11 @@ The following table shows what attributes will be present in the CSV.
| Column | Description |
|--------------------|--------------------------------------------------------------|
| Title | Merge request title |
| Description | Merge request description |
| MR ID | MR
`iid`
|
| URL | A link to the merge request on GitLab |
| Title | Merge request title |
| State | Opened, Closed, Locked, or Merged |
| Description | Merge request description |
| Source Branch | Source branch |
| Target Branch | Target branch |
| Source Project ID | ID of the source project |
...
...
@@ -39,6 +39,10 @@ The following table shows what attributes will be present in the CSV.
| Created At (UTC) | Formatted as
`YYYY-MM-DD HH:MM:SS`
|
| Updated At (UTC) | Formatted as
`YYYY-MM-DD HH:MM:SS`
|
In GitLab 14.7 and earlier, the first two columns were
`MR ID`
and
`URL`
,
which
[
caused an issue
](
https://gitlab.com/gitlab-org/gitlab/-/issues/34769
)
when importing back into GitLab.
## Limitations
-
Export merge requests to CSV is not available at the Group's merge request list.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment