Hi,
The way to automate I prefer below
1: If following naming convention the way is to create deployment via REST API /run-deployment-plan where you can pass relevant information like release name and description.
{
"application": "string",
"applicationId": 0,
"artifactPackage": "string",
"artifactPackageAsXML": "string",
"build": "string",
"deployment": "string",
"deploymentDescription": "string",
"deploymentPlan": "string",
"deploymentPlanDescription": "string",
"deploymentPlanType": "MINOR",
"deploymentStageToPerform": "string",
"deploymentTemplate": "string",
"environmentIds": [
0
],.......
}
Regards,
Saurabh