Skip to content

Problem with updating an issue #254

@phsteffen

Description

@phsteffen

Hi Folks,

i found a little Bug in the issue-upate-function:

https://github.com/m4tthumphrey/php-gitlab-api/blob/70aeb9f412f8dc184dbd91afd75058ab8702746e/lib/Gitlab/Model/Issue.php#L94

To Update the issue the gitlab-api needs the iid and not the id of the issue.
Link to the api-doc

I think it should be:
$data = $this->client->issues()->update($this->project->id, $this->iid, $params);

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