Skip to content

[Bug][scope-config] When configuring the scope config, if you deselect the Cross Domain option, continue with the configuration, and then click save, the interface reports an error. #6923

Description

@xiaomingzhang12

Search before asking

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

What happened

  1. On the connection page, click "Associate Scope Config".
    Click "Add New Scope Config".
    Deselect "Cross Domain" in Data Entities.
    Continue to complete the configuration.
    Click save. At this point, the interface api/plugins/jira/connections/1/scope-configs reports an error, with the specific error message being:

message
:
"1 error(s) decoding:\n |\n | * 'remotelinkRepoPattern[0]' expected a map, got 'string'\nWraps: (2) 1 error(s) decoding:\n |\n | * 'remotelinkRepoPattern[0]' expected a map, got 'string'\nError types: (1) *hintdetail.withDetail (2) *mapstructure.Error"

  • img_v3_027q_be64091a-cfd2-4d8f-a4b2-dcc81718d74g

What do you expect to happen

Deselecting "Cross Domain" in Data Entities can also result in a successful save and normal use of this configuration.

How to reproduce

See above

Anything else

No response

Version

0.21

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions