FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Feature request: manipulate project issue status · Issue #3295 · python-gitlab/python-gitlab · GitHub

Repository navigation

Feature request: manipulate project issue status #3295

Description

Description of the problem, including code/CLI snippet

My team is currently moving to tracking issues using the issue status introduced in Gitlab 18.2:
https://about.gitlab.com/releases/2025/07/17/gitlab-18-2-released/#custom-workflow-statuses-for-issues-and-tasks

My company uses this library to automate opening gitlab issues. Below is a snippet from said automation. I tried to get at what I could send in the create() method by dumping issue to JSON and got the following (company info redacted)

{
  "id": 177073754,
  "iid": ...,
  "project_id": ...,
  "title": "...",
  "description": "...",
  "state": "opened",
  "created_at": "2025-11-13T21:49:44.290Z",
  "updated_at": "2025-11-13T21:49:44.290Z",
  "closed_at": null,
  "closed_by": null,
  "labels": [
    ...
  ],
  "milestone": {
    "id": 4775912,
    "iid": ...,
    "project_id": ...,
    "title": "Development",
    "description": "Development (non-production) work that has yet to merge.",
    "state": "active",
    "created_at": "2021-10-01T18:45:11.056Z",
    "updated_at": "2025-02-27T21:17:20.634Z",
    "due_date": "2030-06-30",
    "start_date": "2026-06-01",
    "expired": false,
    "web_url": "..."
  },
  "assignees": [],
  "author": {
    "id": 31427160,
    "username": "project_..._bot_...",
    "public_email": null,
    "name": "...",
    "state": "active",
    "locked": false,
    "avatar_url": "...",
    "web_url": "..."
  },
  "type": "ISSUE",
  "assignee": null,
  "user_notes_count": 0,
  "merge_requests_count": 0,
  "upvotes": 0,
  "downvotes": 0,
  "due_date": null,
  "confidential": false,
  "discussion_locked": null,
  "issue_type": "issue",
  "web_url": "...",
  "time_stats": {
    "time_estimate": 0,
    "total_time_spent": 0,
    "human_time_estimate": null,
    "human_total_time_spent": null
  },
  "task_completion_status": {
    "count": 1,
    "completed_count": 0
  },
  "weight": 1,
  "blocking_issues_count": 0,
  "has_tasks": false,
  "_links": {
    "self": "...",
    "notes": "...",
    "award_emoji": "...",
    "project": "...",
    "closed_as_duplicate_of": null
  },
  "references": {
    "short": "...",
    "relative": "...",
    "full": "..."
  },
  "severity": "UNKNOWN",
  "subscribed": true,
  "moved_to_id": null,
  "imported": false,
  "imported_from": "none",
  "service_desk_reply_to": null,
  "epic_iid": ...,
  "epic": {
    "id": ...,
    "iid": ...,
    "title": "..",
    "url": "",
    "group_id": ...
  },
  "iteration": null,
  "health_status": null
}

Unfortunately, I was not able to discern from this information how to set the status. Please let me know if it exists and this is a case of user error.

Expected Behavior

issue: ProjectIssue = jointsProject.issues.create(
    {
      'title': issueTitle,
      'description': issueDescription,
      'status': 'Approval Queue',                               # This is what I'd like to work, or some equivalent
      'labels': [ ],
      'milestone_id': developmentMilestoneID,  
      'epic_iid': epicID,
      'weight': 1,
    }
  )

Actual Behavior

Specifications

  • python-gitlab version: 7.0.0
  • Gitlab server version (or gitlab.com): GitLab Enterprise Edition 18.6.0-pre b618d849058

Activity

  1. totternessZB commented on Nov 13, 2025

    Author

    I'm not sure if this library is using REST or GraphQL under the hood, but it appears as though this feature hasn't even made it into the REST API yet.

    https://gitlab.com/gitlab-org/gitlab/-/issues/560083

    I've subscribed to that issue and will poke the issue here whenever that gets merged.

  2. github-actions commented on Jan 16, 2026

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  3. totternessZB commented on Jan 16, 2026

    Author

    Issue has had no activity due to the REST API still not being implemented. See the gitlab issue above. Once that is resolved, this can actually be completed

  4. github-actions commented on Mar 18, 2026

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  5. totternessZB commented on Mar 18, 2026

    Author

    commenting to prevent from going stale. Comment here still applies

  6. github-actions commented on May 18, 2026

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  7. totternessZB commented on May 18, 2026

    Author

    commenting to prevent from going stale. Comment here still applies

  8. github-actions commented on Jul 19, 2026

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  9. totternessZB commented on Jul 20, 2026

    Author

    commenting to prevent from going stale. Comment here still applies

  10. github-actions commented on Sep 19, 2026

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  11. totternessZB commented on Sep 21, 2026

    Author

    commenting to prevent from going stale. Comment here still applies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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


      Back | FazBrowse Home | New Git URL