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

Update GH files for issue templates and Jira automation #321

Merged
merged 2 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/.jira_sync_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
settings:
# Jira project key to create the issue in
jira_project_key: "KF"

# Dictionary mapping GitHub issue status to Jira issue status
status_mapping:
opened: Untriaged
closed: done

# (Optional) GitHub labels. Only issues with one of those labels will be synchronized.
# If not specified, all issues will be synchronized
labels:
- bug
- enhancement

# (Optional) (Default: false) Add a new comment in GitHub with a link to Jira created issue
add_gh_comment: true

# (Optional) (Default: true) Synchronize issue description from GitHub to Jira
sync_description: true

# (Optional) (Default: true) Synchronize comments from GitHub to Jira
sync_comments: false

# (Optional) (Default: None) Parent Epic key to link the issue to
epic_key: "KF-4805"

# (Optional) Dictionary mapping GitHub issue labels to Jira issue types.
# If label on the issue is not in specified list, this issue will be created as a Bug
label_mapping:
enhancement: Story
23 changes: 20 additions & 3 deletions .github/ISSUE_TEMPLATE/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,36 @@ body:
proposal! Before submitting your issue, please make sure there
isn't already a prior issue concerning this. If there is,
please join that discussion instead.
- type: textarea
id: enhancement-proposal-context
attributes:
label: Context
description: >
Describe why we should work on this task/enhancement, as well as
existing context we should be aware of
validations:
required: true
- type: textarea
id: enhancement-proposal-what
attributes:
label: What needs to get done
description: >
Describe what needs to get done
placeholder: |
1. Look into X
2. Implement Y
3. Create file Z
validations:
required: true
- type: textarea
id: enhancement-proposal-why
id: enhancement-proposal-dod
attributes:
label: Why it needs to get done
label: Definition of Done
description: >
Describe why it needs to get done
What are the requirements for the task to be considered done
placeholder: |
1. We know how X works (spike)
2. Code is doing Y
3. Charm has functionality Z
validations:
required: true
17 changes: 0 additions & 17 deletions .github/workflows/issues_to_jira.yaml

This file was deleted.

Loading