I'm creating a task in a Pull Request from the Bitbucket API using this method: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-pull-request-id-tasks-post. I'm getting a 201 success response, but when I go to the Bitbucket UI, I can't see the task.
What am I missing? or what could be the reason not to see the task in the UI?
Thanks!
Hi,
I have found the problem.
I was setting in the message's body
{
"content": {
"raw": "Testing tasks from API"
},
"pending": true
}
Welcome to the community.
May I know the status of the pull request? Is it currently Open, Rejected, or Merged?
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Thanks.
The PR is currently open.
Also, if I use the List Tasks in a PR endpoint in the API, I get the task, but it does not appear in the UI.
Regards,
Fernando
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have found the problem.
I was setting in the message's body
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.