I want to create an issue with the api (https://api.bitbucket.org/2.0/repositories/.../.../issues). Im sending following data:
title, kind, priority and content. The Dataform value of content seems to create an error, the doc says "You'll need URL encode the content string".
The error from the api is following:
I have no idea what i do wrong. Please help me.
Perhaps this comes a bit late but today I was also struggling with this issue and I found the solution.
You need to pass the data as JSON (Content-Type: application/json) in the following form:
{
'content': {
'raw': 'Your stuff here'
}
}
Hope this helps someone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.