Skip to content

[Bug][Jenkins] Unable to delete data scope #6522

@en-rzaharioaei

Description

@en-rzaharioaei

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

So, I do have a Jenkins connection for a multibranch pipeline. If I select a feature/branch as a data scope, then merge & delete that branch, I won't be able to delete that data scope. Also if that data scope shares the scope config with another data scope, let's called it feature/branch2. I delete the scope config and feature/branch2, you can't delete any other data scope that shared that scope config with, in you case you can't delete data scope feature/branch1.
image

What do you expect to happen

delete the data scope

How to reproduce

create a data scope for a branch -> merge & delete the branch -> try to delete the data scope
create a second data scope for another branch -> select the same scope config -> use it in a project -> delete scope config -> delete the second data scope -> try to delete the first data scope

Anything else

I encountered the second issue on Azure DevOps as well.

Version

v0.20.0-beta1

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

type/bugThis issue is a bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions