The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to send request to Forge App

Bohdan Maik
July 22, 2024

I created app with forge with handler for http events. On which endpoint i need to send my request to trigger that app function? Im tried https://api.atlassian.com/ex/ari/cloud/{appKey}/forge/api/http/create-comment-trigger   but it doesnt work

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Steffen Opel _Utoolity_
Community Champion
October 31, 2024

Hi @Bohdan Maik

Forge supports the concept of a Web trigger, which "invokes a function as the result of an HTTP request".

The resulting URLs are installation specific (i.e. not one per app, but one per each app installation), so how to get the URL depends on your use case (refer to the docs for details):

  1. If your app is a one-off for in-house use, you can obtain the URL manually via the 'forge webtrigger' CLI command
  2. If you distribute your app, you need to obtain the URL programmatically via the web trigger runtime API

 

0 votes
Elelta D
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 23, 2024

Hey there @Bohdan Maik 

How are you? Thanks for posting here and getting involved in the community.

Since this is specific to forge app development, kindly ask the reporter to raise a ticket with our developer support team here.

Thanks :) 

Eleleta

TAGS
AUG Leaders

Atlassian Community Events