Skip to content

Commit b4874cc

Browse files
Sync GitHub issues to Jira (#131)
Ported from canonical/mysql-operator#108
1 parent 5be9d15 commit b4874cc

File tree

6 files changed

+75
-154
lines changed

6 files changed

+75
-154
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: Bug report
3+
about: File a bug report
4+
labels: bug
5+
6+
---
7+
8+
<!-- Thank you for submitting a bug report! All fields are required unless marked optional. -->
9+
10+
## Steps to reproduce
11+
1.
12+
13+
## Expected behavior
14+
15+
16+
## Actual behavior
17+
<!-- If applicable, add screenshots -->
18+
19+
20+
## Versions
21+
22+
<!-- Run "lsb_release -sd" -->
23+
Operating system:
24+
25+
<!-- Run "juju version" -->
26+
Juju CLI:
27+
28+
<!-- Model version from "juju status" -->
29+
Juju agent:
30+
31+
<!-- App revision from "juju status" or (advanced) commit hash -->
32+
Charm revision:
33+
34+
<!-- Run "microk8s version" -->
35+
microk8s:
36+
37+
## Log output
38+
<details>
39+
<summary> juju debug-log --replay </summary>
40+
41+
<!-- Paste the full output of "juju debug-log --replay" between the triple backticks (```) -->
42+
```shell
43+
44+
45+
```
46+
</details>
47+
48+
<!-- (Optional) Copy the logs that are relevant to the bug & paste inside triple backticks below -->
49+
50+
51+
## Additional context
52+
<!-- (Optional) Add any additional information here -->

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/enhancement_proposal.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
# Issue
2-
<!-- What issue is this PR trying to solve? -->
1+
## Issue
32

43

5-
# Solution
6-
<!-- A summary of the solution addressing the above issue -->
7-
8-
9-
# Context
10-
<!-- What is some specialized knowledge relevant to this project/technology -->
11-
12-
13-
# Testing
14-
<!-- What steps need to be taken to test this PR? -->
15-
16-
17-
# Release Notes
18-
<!-- A digestable summary of the change in this PR -->
4+
## Solution

.github/workflows/issues_to_jira.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2023 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
name: Sync issue to Jira
4+
5+
on:
6+
issues:
7+
types: [opened, reopened, closed]
8+
9+
jobs:
10+
sync:
11+
name: Sync GitHub issue to Jira
12+
uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v2
13+
with:
14+
jira-base-url: https://warthogs.atlassian.net
15+
jira-project-key: DPE
16+
jira-component-names: postgresql-k8s
17+
secrets:
18+
jira-api-token: ${{ secrets.JIRA_API_TOKEN }}
19+
jira-user-email: ${{ secrets.JIRA_USER_EMAIL }}
20+
permissions:
21+
issues: write # Needed to create GitHub issue comment

0 commit comments

Comments
 (0)