Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
I'm trying to automate the process for setting policies for our releases. I'm referring to policies that are setup when using the Admin Gui under the Configuration Management folder.
Message was edited by: Hector Magnanao
Solved! Go to Solution.
Hello Hector,
After discussion with some senior colleagues here, I think you probably want to use the si copypolicysection command, also documented in the link Peter gave above. This is a command new to 10.6, so if you're not on 10.6, you can't really copy it.
Please let us know if that gets you on the right track, or if you're still stuck.
Regards,
Kael
There is a CLI command "si setpolicysection".
For details see the attached documentation.
I was looking at the documentation and it doesn't have a policy for branching. I'd like to use it with a template that is already defined for a policy.
Hello Hector,
Just to make sure I understand, are you talking about configuring policies for users and groups on a project and sub-project basis? Or are you talking about trying to use one user's/group's ACL configuration as a template for another group's?
Regards,
Kael
We have created a template for a branching policy for users on a project and I was wondering how to use that template branching policy in a CLI whenever we want to apply it to a new project.
Hello Hector,
After discussion with some senior colleagues here, I think you probably want to use the si copypolicysection command, also documented in the link Peter gave above. This is a command new to 10.6, so if you're not on 10.6, you can't really copy it.
Please let us know if that gets you on the right track, or if you're still stuck.
Regards,
Kael