X Tutup
Skip to content

Project issue link creation does not return all available data #3353

@cokolele

Description

@cokolele

Description of the problem, including code/CLI snippet

ProjectIssueLinkManager.create calls the endpoint /projects/{project_id}/issues/{issue_iid}/links. According to this page the response includes ID and link type of that just created link. The source code does not to seem to expose these values in any way, effectively making some API data unavailable.

Expected Behavior

ProjectIssueLinkManager.create returns all the data that gitlab returns.

Actual Behavior

ProjectIssueLinkManager.create does not return ID and link type of a newly created link.

Specifications

  • python-gitlab version: current
  • Gitlab server version (or gitlab.com): current

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup