Hi i am working on a forge app and i want to explore if we have a particular issue can i get its workflow and the transition the workflow has through rest api? i was using const response = await api.asUser().requestJira(route/rest/api/3/workflows
, {
method: “POST”,
headers: {
Accept: “application/json”,
“Content-Type”: “application/json”,
},
body: bodyData,
});
i am getting the workflow and status but how willi get transiitoms that the workflow has
If you already have the issue available then simply call the get transitions endpoint to determine what transitions are avaialble based on the current status.