diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..d3115c436 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,52 @@ +--- +name: Bug report +about: File a bug report +labels: bug + +--- + + + +## Steps to reproduce +1. + +## Expected behavior + + +## Actual behavior + + + +## Versions + + +Operating system: + + +Juju CLI: + + +Juju agent: + + +Charm revision: + + +microk8s: + +## Log output +
+ juju debug-log --replay + + +```shell + + +``` +
+ + + + +## Additional context + diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 89a215a7a..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Bug Report -description: File a bug report -labels: ["Type: Bug", "Status: Triage"] -body: - - type: markdown - attributes: - value: > - Thanks for taking the time to fill out this bug report! Before submitting your issue, please make - sure you are using the latest version of the charm. If not, please switch to this image prior to - posting your report to make sure it's not already solved. - - type: textarea - id: bug-description - attributes: - label: Bug Description - description: > - If applicable, add screenshots to help explain your problem. If applicable, add screenshots to - help explain the problem you are facing. - validations: - required: true - - type: textarea - id: reproduction - attributes: - label: To Reproduce - description: > - Please provide a step-by-step instruction of how to reproduce the behavior. - placeholder: | - 1. `juju deploy ...` - 2. `juju relate ...` - 3. `juju status --relations` - validations: - required: true - - type: textarea - id: environment - attributes: - label: Environment - description: > - We need to know a bit more about the context in which you run the charm. - - Are you running Juju locally, on lxd, in multipass or on some other platform? - - What track and channel you deployed the charm from (ie. `latest/edge` or similar). - - Version of any applicable components, like the juju snap, the model controller, lxd, microk8s, and/or multipass. - validations: - required: true - - 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. - Fetch the logs using `juju debug-log --replay` and `kubectl logs ...`. Additional details available in the juju docs - at https://juju.is/docs/olm/juju-logs - render: shell - validations: - required: true - - type: textarea - id: additional-context - attributes: - label: Additional context - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 7c21dce8d..05dc4e23e 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,14 +1,4 @@ ## Issue - -## Solution - - -## Context - -## Release Notes - - -## Testing - +## Solution diff --git a/.github/workflows/sync_issue_to_jira.yaml b/.github/workflows/sync_issue_to_jira.yaml new file mode 100644 index 000000000..7b85dba9f --- /dev/null +++ b/.github/workflows/sync_issue_to_jira.yaml @@ -0,0 +1,16 @@ +# Copyright 2023 Canonical Ltd. +# See LICENSE file for licensing details. +name: Sync issue to Jira + +on: + issues: + types: [opened, reopened, closed] + +jobs: + sync: + name: Sync GitHub issue to Jira + uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@main + with: + jira-component-name: mysql-router-k8s + secrets: + jira-webhook-url: ${{ secrets.JIRA_URL }}