Dear community,
I’m working on a connect Jira add-on I’d like to move to Forge since Connect is about to be deprecated.
One part of this add-on is a background task running on our servers which regularly check our customers’ Jira tickets status.
It’s quite easy to do that with the Connect framework but I don’t get how to do that with Forge because there is no user interaction except the app installation by a Jira admin.
Would you have any idea about it ?
Thanks for your support.
Best regards,
Maybe Forge triggers are what you are looking for.
The trigger
module invokes a function or calls a remote backend when a product event, app lifecycle event, or data security policy event is fired. For example, as the result of an issue being created in Jira.
You can listen to Jira events.
Hi Fabien,
Thanks for that. Triggers could indeed be helpful in my case, at least partially.
I was wondering if oAuth2 application could also be helpful to send requests to our customers’s Jira instances but I still don’t see how to get a token without user interaction.
Any thought / experience with oAuth2 apps in Jira ?
Best,
Maybe using Web triggers ?
The webtrigger
module invokes a function as the result of an HTTP request.
I would assume that you would just want your back-end to permanently have forge remote tokens that it could use to call the product: https://developer.atlassian.com/platform/forge/remote/scheduled-triggers/
Would that work for you?
Maybe, all that is still a bit blur to me.
Thanks for your advice.