1

I'm building a Python tool that can use GitLab issue templates to create issues. Does the API provide a way to do so?

I read the documentation and it seems not but maybe I missed something.

1 Answer 1

0

I can only find "Using a URL with prefilled values", where the following URL is using a description template

https://gitlab.com/gitlab-org/gitlab/-/issues/new?
  issue[title]=Validate%20new%20concept&
  issuable_template=Feature%20Proposal%20-%20basic

Calling that URL in your Python tool would use said template.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you for your help it's not exactly what I wanted to do. I wanted the issue to be created by the script, not a link to the issue creation page that has its fields prefilled
@kurisukun But the script could call the URL in order to trigger the issue creation, could it not?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.