Skip to content

Commit

Permalink
Use fastapi automation for jira sync (#349)
Browse files Browse the repository at this point in the history
change the automation to instead use https://github.com/canonical/gh-jira-sync-bot
for creating issues, instead of the previous workflow
  • Loading branch information
kimwnasptd authored Nov 21, 2023
1 parent f5c8055 commit eb92f79
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 17 deletions.
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
17 changes: 0 additions & 17 deletions .github/workflows/issues_to_jira.yaml

This file was deleted.

0 comments on commit eb92f79

Please sign in to comment.