Forum Discussion

bilesh_ganguly's avatar
bilesh_ganguly
New Contributor II
4 years ago

List pipelines that use a particular snap

Is there a way to get a list of pipelines in an Org across project spaces that use a particular snap?

8 Replies

  • SpiroTaleski's avatar
    SpiroTaleski
    Valued Contributor

    Hi @bilesh.ganguly,

    You can try with Metadata Snaps.

    There is a possibility of reading the metadata for every pipeline(including which snaps particular pipeline is using) in the given project/organization.

    After you get all the results then you can apply the logic/conditions to filter the pipelines that are using the given snap.

    Regards,
    Spiro Taleski

    • bilesh_ganguly's avatar
      bilesh_ganguly
      New Contributor II

      Thank you for your response Spiro.

      I’m aware of metadata snaps; I was looking for a solution that doesn’t involve creating a pipeline.

    • PeterRNLI's avatar
      PeterRNLI
      New Contributor II

      How, the metadat Snaps do not include SNAP, only SNAP PACK

      • SpiroTaleski's avatar
        SpiroTaleski
        Valued Contributor

        @PeterRNLI

        I don’t have that details why SNAP is not included.

        But, if you read a PIPELINE, the metadata that will be returned will contains details about each SNAP within that pipeline.

        BR,
        Spiro Taleski