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

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events