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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.