Now we get list of jira issues from the build like this http://bamboo.companyname.com/rest/api/latest/result/PROJ.json?buildstate=Successful&expand=results.result.jiraIssues&max-results=10
Is there any possibility to get list of issues from last deployed build?
There isn't any API to get the last deployed release's issues.
You may want to consider getting it from database:
SELECT dvji.* FROMDEPLOYMENT_RESULT drJOIN DEPLOYMENT_VERSION_JIRA_ISSUE dvji ON dvji.DEPLOYMENT_VERSION_ID=dr.VERSION_IDWHERE dr.DEPLOYMENT_RESULT_ID=(SELECT MAX(DEPLOYMENT_RESULT_ID) FROM DEPLOYMENT_PROJECT dpJOIN DEPLOYMENT_ENVIRONMENT de ON de.PACKAGE_DEFINITION_ID=dp.DEPLOYMENT_PROJECT_IDJOIN DEPLOYMENT_RESULT dr ON dr.ENVIRONMENT_ID=de.ENVIRONMENT_IDWHERE dr.DEPLOYMENT_STATE='Successful'AND dp.NAME='<projectName>'AND de.NAME='<environmentName>');
It looks like you're new here. Sign in or register to get started.