...
HTML |
---|
<button onclick="update();">Build pages</button> <script> function update() { fetch('/rest/confiforms/1.0/search/133259957/IFSContent') .then((response) => response.json()) .then(function(data) { data.list.entry.every(item => { fetch('/rest/confiforms/1.0/update/133259957/IFSContent/'+item.id+'?skipIFTTTExecute=falsetrue', { method: "POST", headers: {"X-Atlassian-Token": "no-check"} } ); return false; }); }); } </script> |
...