Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking deployments has limited functionality #2421

Open
vedrani opened this issue Sep 12, 2023 · 1 comment
Open

Tracking deployments has limited functionality #2421

vedrani opened this issue Sep 12, 2023 · 1 comment

Comments

@vedrani
Copy link

vedrani commented Sep 12, 2023

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.

@mhanley00
Copy link

I second this! Any updates here? In the meantime, any suggestions for alternative intermediary solutions other than putting all issue numbers in the commit? I see in the Jira docs deployments are not expected to work with merge commit PRs but it seems like not that long ago this was a feature, this would really, really help automate our workflow #855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants