Details
-
Bug
-
Resolution: Won't Fix
-
Medium
Description
Summary
When changing the owner of a repository Pipelines losses the ability to render past build results and environment variables defined in Pipelines settings.
How to Replicate
- Create repository
- Enable Pipelines
- Create environment variable
- Commit a few items to the recently created repository
- Move repository under a different owner or create a new repository importing from this one
- Enable Pipelines (bitbucket-pipelines.yaml should already exist)
- Attempt to view a previous result
- left hand panel fails with Failed to load resource
Example:
url: https://bitbucket.org/atlassian/pipelines-examples-googleappengine/addon/pipelines/home#!/results/%7B77f5e86d-7d54-4c45-8231-8bf75ccad3ec%7D\\
Error:
#!json {"message": "Pipeline with UUID '{77f5e86d-7d54-4c45-8231-8bf75ccad3ec}' not found.", "arguments": {"uuid": "{77f5e86d-7d54-4c45-8231-8bf75ccad3ec}"}, "key": "result-service.pipeline.not-found"}
- Enviroment variables are not imported