Skip to main content

Node JS

const response = await fetch('<YOURTRIGGERURL>', {  headers: {    'Content-Type': 'application/json',    Accept: 'application/json',    apiKey: '<YOURTOKEN>',  },  method: 'POST',  body: JSON.stringify({    options: {      method: 'GET',      headers: {        'Content-Type': 'application/json',        Accept: 'application/json',      },    },    url: '/rest/api/3/issue/DEV-16',  }),});const atlassianResponse = await response.text();console.log('response', atlassianResponse);