Commit 6edc6944 authored by Kassio Borges's avatar Kassio Borges

GraphQL: expose milestone iid

parent 3bd11feb
......@@ -14,6 +14,9 @@ module Types
field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the milestone.'
field :iid, GraphQL::ID_TYPE, null: false,
description: "Internal ID of the milestone."
field :title, GraphQL::STRING_TYPE, null: false,
description: 'Title of the milestone.'
......
---
title: 'GraphQL: expose milestone iid'
merge_request: 57732
author:
type: changed
......@@ -4167,6 +4167,7 @@ Represents a milestone.
| `dueDate` | [`Time`](#time) | Timestamp of the milestone due date. |
| `groupMilestone` | [`Boolean!`](#boolean) | Indicates if milestone is at group level. |
| `id` | [`ID!`](#id) | ID of the milestone. |
| `iid` | [`ID!`](#id) | Internal ID of the milestone. |
| `projectMilestone` | [`Boolean!`](#boolean) | Indicates if milestone is at project level. |
| `report` | [`TimeboxReport`](#timeboxreport) | Historically accurate report about the timebox. |
| `startDate` | [`Time`](#time) | Timestamp of the milestone start date. |
......
......@@ -9,7 +9,7 @@ RSpec.describe GitlabSchema.types['Milestone'] do
it 'has the expected fields' do
expected_fields = %w[
id title description state web_path
id iid title description state web_path
due_date start_date created_at updated_at
project_milestone group_milestone subgroup_milestone
stats
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment