I am working on developing one Forge app which will get data from third party API and create issues in JIRA based on that data. This process of collecting data and creating issues in JIRA needs to be scheduled for specific interval configured by user.
For Example : After installing the app in JIRA cloud user will configure the account of third party application (from which data will be collected) and the Interval (e.g. 2 hour). Onclick of submit button app will initiate one process which will collect data from third party API and create JIRA issues based on that data, and from now on this will run every interval configured by user.
Is there any way I can do this?
I think of using scheduled trigger but value of interval in scheduled trigger can only be ‘hour’, ‘day’, or ‘week’ and also user will not be able to configure that as this will be configured in manifest.yml file. Also scheduled trigger will be trigger immediately after app installation, So is there any way user can configure when to start that trigger?