We have a forge app installed in jira instance.
Whenever we are creating a comment with permission(assigned to any below groups) we are not getting any webhooks for any updates.
whenever we make it “visible to all users” we do get webhook, and as an exception when we select group = “jira-admins-jirasync2” only then we get the webhooks, in all other cases of groups and roles assignment we don’ t receive any webhooks, which is a problem for us as we don’t get to know what is the permission on the comment.
Is our forge app lacking any permission?
Please help us with this, how can we receive webhooks on permission change of a issue.
Below is the manifest.yml for our forge.
modules:
scheduledTrigger:
- key: scheduled-event-fetch-myself
interval: hour
function: cron_for_send_details
trigger:
- key: installed-app
function: trigger_install
events:
- avi:forge:installed:app
- avi:forge:upgraded:app
- key: webhook-trigger
function: webhook-trigger-func
events:
# Issue events
- avi:jira:created:issue
- avi:jira:updated:issue
- avi:jira:deleted:issue
- avi:jira:transitioned:issue
# Comment events
- avi:jira:commented:issue
- avi:jira:deleted:comment
# Project events
- avi:jira:created:project
- avi:jira:updated:project
- avi:jira:deleted:project
- avi:jira:softdeleted:project
- avi:jira:restored:project
- avi:jira:archived:project
- avi:jira:unarchived:project
# Issue link events
- avi:jira:created:issuelink
- avi:jira:deleted:issuelink
# User events
- avi:jira:created:user
- avi:jira:updated:user
- avi:jira:deleted:user
function:
- key: trigger_install
handler: index.trigger_install_callback
- key: webhook-trigger-func
handler: index.entity_update_trigger
- key: cron_for_send_details
handler: index.cron_for_send_details
permissions:
scopes:
- read:app-user-token
- read:app-system-token
- read:jira-work
- read:jira-user
- manage:jira-configuration
- read:permission:jira
- read:email-address:jira
external:
fetch:
backend:
- https://whatever-golden-firmly.ngrok-free.app
- https://auth.atlassian.com
remotes:
- key: remote-app-node
baseUrl: https://whatever-golden-firmly.ngrok-free.app
operations:
- compute
auth:
appSystemToken:
enabled: true
appUserToken:
enabled: true
app:
description: Jira Integration
id: ari:cloud:ecosystem::app/44d26002-e2a8-4d7b-9443-1226afcb4afc
runtime:
name: nodejs22.x