Skip to content

There should be a way in SQC to identify projects that were migrated with the migration tool #418

Description

@okorach-sonar

For Support purposes but possibly for other use case it would be useful to distinguish projects (and potentially other objects) that were created through the migration tool vs the ones that were created through standard SQC workflows.

One idea is to include some sort of telemetry when a migrated project is pushed on the SQC side.

This can be achieved through 2 means:

  • In the analysis report submitted, in the analytics.pb add a ci_name=sonar-migration-tool entry - This was already implemented by fix: generate mandatory analytics.pb in fabricated scanner report #480
  • When migrating a project add an extra link in the SQC projects Links:
    - Name SQS migrated project
    - Linking back to the original project URL. The original project URL should be like <ORIGINAL_SQS_BASE_URL>/dashboard?id=<OriginalProjectKey>
    -

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions