diff options
Diffstat (limited to 'doc/api/issues.md')
-rw-r--r-- | doc/api/issues.md | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md index ded412a7af0..54b27370741 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -577,14 +577,22 @@ the `weight` parameter: ``` Users on GitLab [Ultimate](https://about.gitlab.com/pricing/) will additionally see -the `epic_iid` property: +the `epic` property: -```json +```javascript { "project_id" : 4, "description" : "Omnis vero earum sunt corporis dolor et placeat.", - "epic_iid" : 42, - ... + "epic": { + "epic_iid" : 5, //deprecated, use `iid` of the `epic` attribute + "epic": { + "id" : 42, + "iid" : 5, + "title": "My epic epic", + "url" : "/groups/h5bp/-/epics/5", + "group_id": 8 + }, + // ... } ``` @@ -592,6 +600,9 @@ the `epic_iid` property: **Note**: The `closed_by` attribute was [introduced in GitLab 10.6][ce-17042]. This value will only be present for issues which were closed after GitLab 10.6 and when the user account that closed the issue still exists. +**Note**: The `epic_iid` attribute is deprecated and [will be removed in 13.0](https://gitlab.com/gitlab-org/gitlab/issues/35157). +Please use `iid` of the `epic` attribute instead. + ## New issue Creates a new project issue. |