Run the Forge app triggered by Linked Issues updates

I want to be able to run the Forge app triggered by Linked Issues updates.
“manifest.yml” is the bellow one.
When I change ticket fields, etc., the process runs, but when I update Linked Issues, the process does not run.
Please tell me how to resolve it.

modules:
  trigger:
    - key: release-note-automatic-update-app-hello-world
      function: main
      events:
        - avi:jira:created:issue
        - avi:jira:updated:issue
      filter:
        ignoreSelf: false
        expression: event.issue.fields.project.name == 'Test2'
  function:
    - key: main
      handler: index.run
app:
  runtime:
    name: nodejs22.x
  id: ari:cloud:ecosystem::app/d7268b04-0c18-4b33-9e3c-c7ce0611aeb5
permissions:
  scopes:
    - read:jira-work
    - write:jira-work
    - write:page:confluence
    - read:page:confluence
    - storage:app

1 Like

Hello @HayataKobayashiIBMOt

The Linked issues events have their own triggers:

You can subscribe to the following Jira issue link events in Forge apps:

  • created: avi:jira:created:issuelink
  • deleted: avi:jira:deleted:issuelink

Hope that helps !

1 Like

Thank you very much for your cooperation.
I have tried your solution.
But it doesn’t work. :joy:
Of course, I have commanded “forge deploy” and “forge install --upgrade”.

events:
        - avi:jira:created:issue
        - avi:jira:updated:issue
        - avi:jira:created:issuelink
        - avi:jira:deleted:issuelink
1 Like

Please help me !

Hello @HayataKobayashiIBMOt

In your original question you said “but when I UPDATE Linked Issues, the process does not run.”

If you look at the documentation, you’ll see there are only two event types:

  1. avi:jira:created:issuelink
  2. avi:jira:deleted:issuelink.

There is no avi:jira:UPDATED:issuelink event, so your Forge app cannot be notified when an Issue link is updated, only when an Issue link is either deleted or created.

1 Like

Does it work if you remove the filter?

Thank you very much!!
It works after I removed expression in Filter!!!
Thank you!!

2 Likes