Skip to content

Tracking deployments has limited functionality #2421

Open
@vedrani

Description

Tracking of GH deployments and transforming them to Jira deployments is limited and it's leaking Jira into Github VSC:

  • Parse only Jira key from commit message
    • Leaks Jira app rules into commit message guidelines and forcing change of commit message guidelines
  • Doesn't analyse GH Deployment payload field or other GH deployment fields

All that results in stiff and strict solution for tracking deployments.

Instead Jira App for GH should parse Jira keys from:

  • PR connected to commit
    • PR title
    • PR body
  • GH deployment payload field
    • This would allow engineers to inject Jira keys manually in CI adding flexibility and robustness to it considering we are running GHA in various cases

Simplest solution would be just to add here also deployment.payload

jiraIssueKeyParser(`${deployment.ref}\n${message}\n${allCommitsMessages}\n${deployment.payload}`),

And we would have capability to inject Jira keys from outside in flexible way without requirement to change commit messages to contain Jira key.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions