WeKnora/examples/plugins/jira/plugin.yaml

43 lines
1.7 KiB
YAML

schemaVersion: 1
id: weknora-examples.jira
version: 1.0.0
apiVersion: weknora.plugin/v1
name: { en-US: Jira, zh-CN: Jira }
description:
en-US: Sync Jira Cloud issues, with their comments, into a knowledge base, and a skill for triaging them. Connects with Atlassian OAuth or an API token; shows dynamic form options and OAuth fields.
zh-CN: 把 Jira Cloud 的问题(含评论)同步到知识库,并提供问题分诊技能。支持 Atlassian OAuth 授权或 API 令牌;演示表单动态选项与 OAuth 字段。
publisher: { id: weknora-examples, name: WeKnora examples }
homepage: https://github.com/Tencent/WeKnora/tree/main/examples/plugins/jira
license: MIT
icon: icon.svg
runtime:
type: host
kind: binary
entry: "bin/{os}-{arch}/jira"
resources: { cpu: 500m, memory: 256Mi }
permissions:
# The OAuth API gateway and the sites themselves. WeKnora, not the plugin,
# talks to auth.atlassian.com.
egress: [api.atlassian.com, "*.atlassian.net"]
config:
# The platform's Atlassian OAuth 2.0 (3LO) app. Without it, workspaces can
# still connect with an API token.
system: schemas/system.yaml
contributes:
connectors:
- id: jira
name: { en-US: Jira, zh-CN: Jira }
description:
en-US: Issues of the selected Jira Cloud projects, with comments
zh-CN: 同步所选 Jira Cloud 项目的问题及评论
icon: icon.svg
capabilities: [incremental, streaming]
instanceSchema: schemas/connector.yaml
skills:
- id: jira-triage
name: { en-US: Jira triage, zh-CN: Jira 问题分诊 }
description:
en-US: Find duplicates, related work and owners of a Jira issue in the synced issues
zh-CN: 在已同步的问题中查找重复、相关工作和负责人
path: skills/jira-triage