To create a change package type in the CLI
From the CLI, type the following command:
im createcptype
--displayName=value
--permittedAdministrators=u=user1,user2,…;g=group1,group2,…
--permittedGroups=group1,group2:modify,…
--description=value
--position=<number>|first|last|before:<name>|after:<name>
where:
• --displayName=value specifies the name of the change package type.
• --permittedAdministrators=u=user1,user2,…;g=group1,group2,… specifies the users and groups that are allowed to view and edit permissions for the change package type.
• --permittedGroups=group1,group2:modify,… specifies the groups that are allowed to view and edit change packages of the specified type. To allow a group to view and edit change packages of this type, append the group name with :modify, for example:
--permittedGroups=everyone:modify
• --description=value specifies a description for the change package type.
• --position=<number>|first|last|before:<name>|after:<name> specifies the position of the change package type.
For example, the command:
im createcptype
--displayName=ExternalCPs
--permittedAdministrators=u=mchang
--permittedGroups=QA,Development si
creates change package ExternalCPs and sets user mchang as a permitted administrator who can edit and view the change package type, and also sets the groups QA and Development as the only groups having permission to view change packages of the type.