blob: 35df95549b7daa5d65670dc6d3dcdc679496bf5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class IssueEntity < IssuableEntity
include RequestAwareEntity
expose :branch_name
expose :confidential
expose :assignees, using: API::Entities::UserBasic
expose :due_date
expose :moved_to_id
expose :project_id
expose :milestone, using: API::Entities::Milestone
expose :labels, using: LabelEntity
expose :web_url do |issue|
namespace_project_issue_path(issue.project.namespace, issue.project, issue)
end
end
|