Managing plans
A software release cycle usually has multiple phases. In BMC Release Process Management, you use plans to specify the sequence of the states and transitions, which might include several requests.
This topic provides the following information to help you manage plans:
Plans enable you to organize the software release process efficiently within the framework of your organization's processes:
- First, you create a plan template to structure the release plan of your software.
- Next, you add stages to the plan template. For example, a corporation can have stages that represent the environments, like Development, QA and Release. When you add a stage, you can specify a release template to associate with the stage.
- Next, you create a new plan. When you create a new plan, BMC Release Process Management automatically creates an instance of the request for that stage.
- You then create a run for the plan. A run is simply a group of requests in a plan stage. Runs enable you to assemble requests from different applications and target different environments in an executable flow. You can also add or delete a request from a run. You can clone a run like a template. Thus, even though requests may have been run in various states during the stage, the definitive work to do the deployment can be gathered into a run and promoted to the next plan stage.
To use the plan runs capability, you must create multiple requests.
You can also execute requests as part of a project. Projects are constructs that contain requests, which, in turn, contain steps and procedures. You can define different types of projects and can assign categories to your projects. A request can be executed as part of an activity, which, in turn, refers to a project.
BMC Release Process Management provides you the capability to integrate with external systems and perform functions in the external system by using the BMC Release Process Management user interface. If you have integrations in place, you can also link your release plan to existing ticketing systems. This is useful when your organization has scheduled software releases at certain times and might have windows during which you release your software. The application teams submit tickets to indicate that their codes are ready.
To create a plan template
- Click Environment > Metadata > Manage Plan Templates.
- Click the Create Plan Template link on the right.
- In the Name field, enter the name of your template.
- From the list in the Template type field, select the template type.
- Click Create.
- To complete the plan template formation, click the Add stage link below the plan and add as many stages as required.
To add a stage to a plan template
After creating a plan template, you must add stages.
- From Environment > Metadata > Manage Plan Templates.
The list of existing plan templates is displayed under Plan Templates. - Click the template to which you want to add stages.
The selected template opens. - In the Stages section, click Add stage.
- In the Creating Plan Stage dialog box, enter a name for the stage in the Name field.
- From the Environment type list select the environment type that you want to be mapped with the plan stage ❓️.
- If you want to make this stage required, select the check box below. Otherwise, skip this step.
- From the Default Request Template, add as many request templates as you require by pressing the Ctrl key.
- (Optional) To give the requestor access to the stage, select the Requestor Access check box.
- Click Create.
- Create as many stages as needed by repeating steps 4 through 9.
To change the order of the stages
Drag and drop the stage's icon.
To create a plan
- From the Plans page, click Create Plan.
- From the Plan Template list, select a template, depending on the type before creating a plan.
- In the Plan Name field, type a plan name.
- From the Release Manager list, select the release manager name.
- Select the required check boxes from the Teams field.
- Select release tag from the Release tag list.
Select a release date from the Release Date field.
- Enter a release description in the Release Description field.
To edit a plan stage from a template
- Click Environment > Metadata > Manage Plan Templates.
- On the table view page, click a plan for which you want to edit a stage.
- Click the Edit link next to the stage.
The editing stage dialog box opens. - Type a name for the stage in the Name field.
- From the Default Request Template list, select your request templates, using the Ctrl key to select multiple templates.
- (Optional) To give the requestor access to the stage, select the Requestor Access check box.
- Click Update.
To edit plan details
- In the Stages page, click the Edit Plan Details link.
- In the dialog box, enter the details in the fields on the left.
- Enter the dates on the right under Stage Dates.
- (Optional) You can add a release description in the Release Description text box.
- Click Update.
To add a route to a plan
- Click Create Plan to create a new plan, or click the name of the existing plan to which you want to add a route.
- Click the Assign App Route button located to the right.
- Select the desired application from the *App list.
- Select the desired route from the *Route list.
Click Add.
The Routes tab opens, with the plan stages mapped with the application route environments.- You can change the default (automatic) route gate assignment to plan stages.
To assign a request to a plan
You have created a request. Now you can add a plan to a request.
- On the Requests tab, click the request.
- On the request page open, click the expand link.
- In the new page that opens, click the Modify Request Details link.
- In the edit request dialog box that opens, you can change all or some of the details under Core Attributes including the plan.
- Change the plan from the Plan drop down field.
For more information about requests, see Managing-requests.