i want to put check in each status to complete the documentation regarding that status or workflow.
Hope it helps for you,
workflowManager.getNextStatusIdForAction(Issue issue, int actionId)
Please refer the similar question.
It looks like you're new here. Sign in or register to get started.