I am using Jira Cloud to manage multiple projects at once.
And I would like to use the JIRA REST API on ScriptRunner for Jira Cloud to automate the following no.2(copy~) and no.3.
1. Create a template project, dashboard, and filters to set for a dashboard gadget.
2. After creating a new project, copy the template dashboard and filters, and rewrite the filters from the template project key to the new project key.
3. Then, set the new filters to a gadget in the dashboard copied.
Now I have created no.2, but I don't know how to create no.3.
Is it possible to change the filter settings of a gadget using REST API?