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
a2d34fbf
Commit
a2d34fbf
authored
Apr 10, 2019
by
pataar
Committed by
James Lopez
Apr 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add time tracking to issue board entities
parent
cd566c26
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
app/serializers/issue_board_entity.rb
app/serializers/issue_board_entity.rb
+1
-0
spec/fixtures/api/schemas/entities/issue_board.json
spec/fixtures/api/schemas/entities/issue_board.json
+3
-0
No files found.
app/serializers/issue_board_entity.rb
View file @
a2d34fbf
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
class
IssueBoardEntity
<
Grape
::
Entity
class
IssueBoardEntity
<
Grape
::
Entity
include
RequestAwareEntity
include
RequestAwareEntity
include
TimeTrackableEntity
expose
:id
expose
:id
expose
:iid
expose
:iid
...
...
spec/fixtures/api/schemas/entities/issue_board.json
View file @
a2d34fbf
...
@@ -9,6 +9,9 @@
...
@@ -9,6 +9,9 @@
"project_id"
:
{
"type"
:
"integer"
},
"project_id"
:
{
"type"
:
"integer"
},
"relative_position"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"relative_position"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"time_estimate"
:
{
"type"
:
"integer"
},
"time_estimate"
:
{
"type"
:
"integer"
},
"total_time_spent"
:
{
"type"
:
"integer"
},
"human_time_estimate"
:
{
"type"
:
[
"string"
,
"null"
]
},
"human_total_time_spent"
:
{
"type"
:
[
"string"
,
"null"
]
},
"weight"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"weight"
:
{
"type"
:
[
"integer"
,
"null"
]
},
"project"
:
{
"project"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
...
...
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