Skip to content

Export Board Milestones

Josianne Hyson requested to merge jhyson/export-board-milestone into master

What does this MR do?

Addresses issue: #196152 (closed)

This MR adds the link between Board + Milestone to Group import/export.

An example format of the exported milestone link is:

"boards":[
  {
    "id": 2,
    "project_id": null,
    "created_at":"2020-02-05T12:45:52.787Z",
    "updated_at":"2020-02-06T12:42:54.167Z",
    "name":"Development - Predefined Milestone",
    "milestone_id": -3,
    "group_id": 22,
    "weight": null,
    "milestone": {
      "title": "Started",
      "name": "#started",
      "id":-3
    },
    "labels":[]
  },
  {
    "id": 6,
    "project_id": null,
    "created_at": "2020-02-06T12:44:21.754Z",
    "updated_at": "2020-02-06T12:44:21.754Z",
    "name": "Test - Dynamic Milestone",
    "milestone_id": 59,
    "group_id": 22,
    "weight": null,
    "milestone": {
      "id": 59,
      "title": "Group Milestone",
      "project_id": null,
      "description": "Test group milestone export",
      "due_date": null,
      "created_at": "2020-02-06T12:43:45.250Z",
      "updated_at": "2020-02-06T12:43:45.250Z",
      "state": "active",
      "iid": 1,
      "start_date": null,
      "group_id": 22
    },
    "labels":[]
  }
]

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • ~~Label as security and @ mention @gitlab-com/gl-security/appsec~~
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading