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

github: add issue templates #484

Merged
merged 1 commit into from
Jun 29, 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
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Bug Report
description: File a bug report
labels: "Bug"
body:
- type: markdown
attributes:
value: >
Thanks for taking the time to fill out this bug report! Before
submitting your issue, make sure this has not been already
reported or if it works with the latest version of the library.
- type: textarea
id: bug-description
attributes:
label: Bug Description
description: >
If applicable, add screenshots to help explain your
problem.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: To Reproduce
description: >
Provide a step-by-step instruction of how to reproduce the behavior.
validations:
required: true
- type: textarea
id: part_yaml
attributes:
label: part yaml
description: >
If possible, please paste the yaml spec that causes the
failure. This will be automatically formatted into code, so no
need for backticks.
render: shell
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output
description: >
Please copy and paste any relevant log output. This will be
automatically formatted into code, so no need for backticks.
render: shell
validations:
required: true

12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
blank_issues_enabled: false
contact_links:
- name: Charmcraft Discourse
url: https://discourse.charmhub.io/c/charmcraft/3
about: Issues creating charms
- name: Snapcraft Discourse
url: https://forum.snapcraft.io/c/snapcraft/13
about: Issues creating snaps
- name: Rockcraft Discourse
url: https://discourse.ubuntu.com/c/rocks/117
about: Issues creating ROCKs

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Task
description: File an enhancement proposal
labels: "Enhancement"
body:
- type: markdown
attributes:
value: >
Thanks for taking the time to fill out this enhancement
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-what
attributes:
label: What needs to get done
description: >
Describe what needs to get done
validations:
required: true
- type: textarea
id: enhancement-proposal-why
attributes:
label: Why it needs to get done
description: >
Describe why it needs to get done
validations:
required: true
17 changes: 17 additions & 0 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# this workflow requires to provide JIRA webhook URL via JIRA_URL GitHub Secret
# read more: https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Automationtriggers-Incomingwebhook
# original code source: https://github.com/beliaev-maksim/github-to-jira-automation

name: Issues to JIRA

on:
issues:
# available via github.event.action
types: [opened, reopened, closed]

jobs:
update:
name: Update Issue
uses: beliaev-maksim/github-to-jira-automation/.github/workflows/issues_to_jira.yaml@master
secrets:
JIRA_URL: ${{ secrets.JIRA_URL }}