Skip to content
\n

But it doesn't change anything. So any idea? or maybe the REST-API doesn't support this? If I look inside gitlab-ui and network monitor from the browser, it uses GraphQL.

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

I noticed I was in the wrong spot.

\n

https://python-gitlab.readthedocs.io/en/stable/gl_objects/epics.html#epics-issues

\n
from gitlab import Gitlab\n\ngl = Gitlab(\n    url=\"<url>\",\n    private_token=\"<token>\"\n)\n\ngroup = gl.groups.get(group_id)\nepic = group.epics.get(epic_id)\n\nfor issue in epic.issues.list(get_all=True):\n    issue.delete()
\n

works flawless!

","upvoteCount":1,"url":"https://github.com/python-gitlab/python-gitlab/discussions/3186#discussioncomment-13025310"}}}
Discussion options

You must be logged in to vote

I noticed I was in the wrong spot.

https://python-gitlab.readthedocs.io/en/stable/gl_objects/epics.html#epics-issues

from gitlab import Gitlab

gl = Gitlab(
    url="<url>",
    private_token="<token>"
)

group = gl.groups.get(group_id)
epic = group.epics.get(epic_id)

for issue in epic.issues.list(get_all=True):
    issue.delete()

works flawless!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by botkero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant