Hello!
I am attempting to create a Forge app that will run whenever a user uploads an Attachment to a Jira ticket. This is my first time working with Forge, so I am following the “Automate Jira Using Triggers” tutorial. I have followed the tutorial exactly, but it is not working for me. Could someone please help me?
I have reached Step 3 involving the use of the Forge tunnel command. When testing the app, I am not receiving any kind of log from the app, as I should be receiving. Also strangely, my console does not mention that I am listening on a specific port after running forge tunnel. The output is listed below. I am not receiving any logs either.
My manifest.yml looks like this:
permissions:
scopes:
- read:jira-work
- write:jira-work
modules:
trigger:
- key: comment-issue-app-hello-world
function: main
events:
- avi:jira:created:issue
function:
- key: main
handler: index.run
app:
id: ari:cloud:ecosystem::app/d5e10b4e-3d51-4c59-888a-b01e173339d0
My index.jsx looks like this:
export async function run(event, context) {
console.log('Hello World & Everyone In It!');
}
Lastly, the tutorial Step 3.2.3 (“Authorize your app using the URL displayed”) seems to no longer be correct, as no authorization URL appears after installing my app with forge install
.
Any help is appreciated!