atlassian / atlassian/atlascode

[Bitbucket]: PR: Edit fails

Open
#128 1 comment 0 reactions 0 assignees View on GitHub
bitbucket server
Dominant language
TypeScript
Stars
129
Forks
82
Avg merge
3h 3m
Merged PRs (30d)
6

Description

**Describe the bug**
When editing a PR summary, the update fails with the following error

EDIT: This also happens when editing the title of the PR

**To Reproduce**
Steps to reproduce the behavior:
1. Open an existing PR
2. Edit the summary
3. Click `Save`
4. See error

![Image](https://github.com/user-attachments/assets/f1a06803-016c-4e62-9344-247c5bd645a3)

---

**A side note: the api call being used here is using `BASIC` auth. Can this be upgraded to use Bearer token?**

---

**Expected behavior**

I should be able to edit the summary successfully.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment and Version (please complete the following information):**
- Atlassian Plugin Version (3.4.6)
- Visual Studio Code Version (x.x.x)
- Is this a local or cloud environment? (Cloud | Local)
- If Cloud, Browser (chrome, safari)
- If Local, OS (macOS, windows, linux)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start with the Bitbucket pull-request edit flow described in issue #128 and reproduce the failure by editing the summary or title and selecting Save. Check the request used for that update, including the reported BASIC authentication, and verify that both fields can be saved successfully without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
api, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.