-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yml
64 lines (58 loc) · 2.32 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# https://developer.atlassian.com/platform/forge/manifest-reference/#app
app:
id: ari:cloud:ecosystem::app/f434bcc5-834f-45e5-ba1d-62e2ee8952cd
runtime:
name: nodejs20.x # https://developer.atlassian.com/platform/forge/manifest-reference/#runtime
licensing:
enabled: false # https://developer.atlassian.com/platform/marketplace/listing-forge-apps/#enabling-licensing-for-your-app
# https://developer.atlassian.com/platform/forge/manifest-reference/resources/#resources
resources:
- key: main
path: src/frontend/index.jsx
- key: icon
path: src/assets
modules:
# Trigger is used to invoke a function when a Jira issue event is fired.
# https://developer.atlassian.com/platform/forge/manifest-reference/modules/trigger/
trigger:
- key: installation-trigger
function: webhook
events:
# https://developer.atlassian.com/platform/forge/events-reference/life-cycle/
- avi:forge:installed:app # Doesn't include un-installation
- avi:forge:upgraded:app
# The jira module provides functionality for Jira products. https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-issue-panel/#jira-issue-panel
jira:issuePanel:
- key: gitauto-jira-hello-world-issue-panel
resource: main
resolver:
function: resolver
render: native
title: GitAuto
icon: resource:icon;icon.png
# https://developer.atlassian.com/platform/forge/runtime-reference/forge-resolver/
function:
- key: resolver
handler: index.handler
- key: webhook
handler: webhook.handler
# Environment variables are not supported in "permissions" section.
# https://developer.atlassian.com/platform/forge/manifest-reference/permissions/
# It takes a few hours to 1 day to update here: https://developer.atlassian.com/console/myapps/f434bcc5-834f-45e5-ba1d-62e2ee8952cd/manage/permissions
permissions:
scopes:
- storage:app
- read:jira-work
external:
fetch:
backend:
- https://dkrxtcbaqzrodvsagwwn.supabase.co
- https://awegqusxzsmlgxaxyyrq.supabase.co
- https://5ze2tkqk7c27bpl5opy5sbilsi0vrdim.lambda-url.us-west-1.on.aws
- https://gitauto.ngrok.dev
# https://developer.atlassian.com/platform/forge/manifest-reference/variables/
environment:
variables:
- SUPABASE_URL
- SUPABASE_API_KEY
- GITAUTO_URL