Dear Community,
I want to configure my Bitbucket Data Center (Atlassian Bitbucket v8.9.12) repository Pull request description template in the pull requests section via the REST API.
I've searched through the RESTI API documentation The Bitbucket Data Center REST API (atlassian.com) but could not find any documentation for that.
Any hint if this is possible via the REST API? Thanks!
Best Regards,
Lucky
Works with a PUT request against
/rest/ui/latest/projects/<project>/repos/<reposlug>/pull-request-templates
with this JSON payload
{
"description":"This is your description",
"enabled":true
}
But seems to not be officially documented in the Bitbucket Server REST API documentation. Just revere engineered it from the Web frontend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.