Skip to content

Commit

Permalink
Sync GitHub issues to Jira (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical authored Apr 10, 2023
1 parent 5be9d15 commit b4874cc
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 154 deletions.
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: Bug report
about: File a bug report
labels: bug

---

<!-- Thank you for submitting a bug report! All fields are required unless marked optional. -->

## Steps to reproduce
1.

## Expected behavior


## Actual behavior
<!-- If applicable, add screenshots -->


## Versions

<!-- Run "lsb_release -sd" -->
Operating system:

<!-- Run "juju version" -->
Juju CLI:

<!-- Model version from "juju status" -->
Juju agent:

<!-- App revision from "juju status" or (advanced) commit hash -->
Charm revision:

<!-- Run "microk8s version" -->
microk8s:

## Log output
<details>
<summary> juju debug-log --replay </summary>

<!-- Paste the full output of "juju debug-log --replay" between the triple backticks (```) -->
```shell


```
</details>

<!-- (Optional) Copy the logs that are relevant to the bug & paste inside triple backticks below -->


## Additional context
<!-- (Optional) Add any additional information here -->
62 changes: 0 additions & 62 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/enhancement_proposal.yml

This file was deleted.

18 changes: 2 additions & 16 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
# Issue
<!-- What issue is this PR trying to solve? -->
## Issue


# Solution
<!-- A summary of the solution addressing the above issue -->


# Context
<!-- What is some specialized knowledge relevant to this project/technology -->


# Testing
<!-- What steps need to be taken to test this PR? -->


# Release Notes
<!-- A digestable summary of the change in this PR -->
## Solution
47 changes: 0 additions & 47 deletions .github/workflows/issues_to_jira.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/sync_issue_to_jira.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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@v2
with:
jira-base-url: https://warthogs.atlassian.net
jira-project-key: DPE
jira-component-names: postgresql-k8s
secrets:
jira-api-token: ${{ secrets.JIRA_API_TOKEN }}
jira-user-email: ${{ secrets.JIRA_USER_EMAIL }}
permissions:
issues: write # Needed to create GitHub issue comment

0 comments on commit b4874cc

Please sign in to comment.