Hi team,
We’ve developed a Forge webtrigger for Jira. It calls Jira Cloud REST API in requestJira method from forge/api module
Here is the snippet that calls Jira Cloud REST API. The response is received nearly after 17 sec.
const reqURL = route
/rest/api/3/issue/${JIRAIssue}?fields=issuetype,customfield_10020,customfield_10021,customfield_10022,versions
//console.log(reqURL);
const issueReq = await api.asApp().requestJira(reqURL);
const issueData = await issueReq.json();
console.log(issueData);
Appreciate can someone help to optimize the response time.
Thank you.