Davide TheSgrash
Davide TheSgrash

Reputation: 87

Opening GitHub Issues using Template via ReST calls

I'm trying to open github issues via ReST APIs and we have some templates that we normally use. I need to open issues on a repo and I need to use the template.. I could simply use the template code in the ReST call as body but it's long and with a lot of newlines and so on. Is there a method to open issues using templates via ReST APIs?

I already tried

https://github.com/api/v3/repos/name/reponame/issues with "template": "template-name.md" in the JSON body

and also

https://github.com/api/v3/repos/name/reponame/issues?template=template-name.md and then JSON body (without body)

but none of them works... any suggestion?

Upvotes: 1

Views: 906

Answers (1)

Davide TheSgrash
Davide TheSgrash

Reputation: 87

it is not possible at the moment

Upvotes: 1

Related Questions