# Launching regular Jira background task with Forge

**URL:** <https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696>\
**Category:** Forge\
**Tags:** jira-cloud, atlassian-connect, forge\
**Created:** [February 11, 2025, 10:41am UTC](https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696 "2025-02-11T10:41:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SylvainCaillet1](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SylvainCaillet1](https://community.developer.atlassian.com/u/SylvainCaillet1)\
**Post date:** [February 11, 2025, 10:41am UTC](https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696/1 "2025-02-11T10:41:56Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![FabienLydoire](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/fabienlydoire/32/51218_2.png) [@FabienLydoire](https://community.developer.atlassian.com/u/FabienLydoire)\
**Post date:** [February 11, 2025, 1:30pm UTC](https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696/2 "2025-02-11T13:30:36Z")

</div>

Maybe [Forge triggers](https://developer.atlassian.com/platform/forge/manifest-reference/modules/trigger/) 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](https://developer.atlassian.com/platform/forge/events-reference/jira/).

---

<div class="post-metadata">

**Author:** ![SylvainCaillet1](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SylvainCaillet1](https://community.developer.atlassian.com/u/SylvainCaillet1)\
**Post date:** [February 11, 2025, 3:22pm UTC](https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696/3 "2025-02-11T15:22:19Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![FabienLydoire](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/fabienlydoire/32/51218_2.png) [@FabienLydoire](https://community.developer.atlassian.com/u/FabienLydoire)\
**Post date:** [February 12, 2025, 10:07am UTC](https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696/4 "2025-02-12T10:07:16Z")

</div>

Maybe using [Web triggers](https://developer.atlassian.com/platform/forge/manifest-reference/modules/web-trigger/) ?

> The `webtrigger` module invokes a function as the result of an HTTP request.

---

<div class="post-metadata">

**Author:** ![rmassaioli](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/rmassaioli/32/35834_2.png) [@rmassaioli](https://community.developer.atlassian.com/u/rmassaioli)\
**Post date:** [February 12, 2025, 2:17pm UTC](https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696/5 "2025-02-12T14:17:04Z")

</div>

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/](https://developer.atlassian.com/platform/forge/remote/scheduled-triggers/)

Would that work for you?

---

<div class="post-metadata">

**Author:** ![SylvainCaillet1](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SylvainCaillet1](https://community.developer.atlassian.com/u/SylvainCaillet1)\
**Post date:** [February 12, 2025, 4:40pm UTC](https://community.developer.atlassian.com/t/launching-regular-jira-background-task-with-forge/88696/6 "2025-02-12T16:40:47Z")

</div>

Maybe, all that is still a bit blur to me.  
Thanks for your advice.
