what steps do I need to take to set up a scheduled trigger that sends data on a weekly basis?

Sarra MEHREZ March 30, 2023

Hi Atlassian community,

I'm new to Forge and I'm trying to figure out how to use scheduledTrigger. My goal is to send data from my Forge app to my Node.js server every week. Specifically, I want to retrieve worklogs data and send it to the server once a week on Mondays.

I have a React front-end that calls a Node.js back-end function using invoke(), and it successfully retrieves the data I need. However, I'm not sure how to set up the 'scheduledTrigger' to make this happen automatically every week.

Can anyone provide guidance on how to use  'scheduledTrigger' in this context? Any sample code or resources would be greatly appreciated. Thank you!

1 answer

0 votes
Jeroen Poismans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 30, 2023

Hello Sarra and Welcome!

Maybe also put your question in the Atlassian Developer Community:
https://community.developer.atlassian.com/

As you will see there is a Forge section there and I think you'll have a better chance of getting an answer there :-).

 

Jeroen

Sarra MEHREZ March 30, 2023

thank you 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events