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

Sync labels to Jira #15

Merged
merged 13 commits into from
Oct 11, 2021
Merged

Sync labels to Jira #15

merged 13 commits into from
Oct 11, 2021

Conversation

zrohrbach-qb
Copy link
Contributor

Adds the functionality to be able to add labels to newly created Jira bugs.

A user can add

with:
    jira_label: 'red-team,GreenTeam,blueteam'

to their GitHub -> Jira workflows to have those labels added to the Jira bugs.

action.yml Outdated Show resolved Hide resolved
@cmboling
Copy link
Contributor

I think we've briefly touched on this today, but as mentioned in your comment this is good for new alerts at this point. Existing open Jira issues won't have this new label. Is that something that you'd want? Also if the jira_label changes within the workflow, would you want all issues to adhere to the new label that will be synced? I believe this will involve passing the label to sync.py as well as serve.py Not sure how many other folks are using serve but let's stick to sync since that's seems to be the most commonly used feature.

@zrohrbach-qb
Copy link
Contributor Author

I think we've briefly touched on this today, but as mentioned in your comment this is good for new alerts at this point. Existing open Jira issues won't have this new label. Is that something that you'd want?

I think it would be most intuitive if we update existing Jira issues with the new labels that have been entered into the workflow.

Also if the jira_label changes within the workflow, would you want all issues to adhere to the new label that will be synced?

I think this also is in line with the previous question. I think it would definitely be best for us to have all issues (that have been created, or will be created) by the workflow to be aligned with the labels defined in the workflow.

@cmboling cmboling changed the title Adding label functionality. Sync labels to Jira Sep 3, 2021
@cmboling
Copy link
Contributor

cmboling commented Sep 3, 2021

@zacharyr-qb will you smoke test the changes and let me know how it goes?

@cmboling cmboling mentioned this pull request Sep 3, 2021
14 tasks
@zrohrbach-qb
Copy link
Contributor Author

Done! All the functionality works great!

@cmboling cmboling merged commit 8c8cbf1 into github:master Oct 11, 2021
@0x7a72 0x7a72 mentioned this pull request Oct 11, 2021
@cmboling cmboling moved this from In Progress to Released in GHAS + Issue Tracking Integration Development Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants