Repository Shortcut Cannot be Removed

XMLWordPrintable

    • 2
    • Minor

      Issue Summary

      A broken repository shortcut cannot be removed, even after you edit the repository to the correct place.

      Steps to Reproduce

      1. Access a Jira Project
      2. In the side menu, click on "Add Shortcut"
      3. Select the "Repository" to add a Bitbucket or GitHub repository
      4. Configure the repository

      If, for some reason, you edit the repository with the wrong information, or the integration with Bitbucket/GitHub fails, the repository will break.

      In this case, it is not possible to delete the repository and you will receive the following pop-up:

      Expected Results

      You must be able to edit the shortcut and delete it

      Actual Results

      The shortcut is not deleted and the following error appears:

      Workaround

      It is possible to delete the shortcut using the REST API:

      curl --location --request DELETE 'https://your-site-here.atlassian.net/rest/projects/1.0/project/XXXXX/shortcut/15' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: <>' \
      --data '{
      }'
      

       

              Assignee:
              Unassigned
              Reporter:
              Giuliano Cunha
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: