For convenience of linking multiple projects to a single policy quickly, there is a REST API available to do so.
|
Method |
put |
|---|---|
|
URL |
/rest/archiver/1.0/policy/project/{policy_id} |
|
Data |
Provide a string representing the array of project keys to be linked to the policy. For example, if you are linking the projects ABC and XYZ:
|
|
Remarks |
You need to be a Jira admin or a project admin for all projects involved to use this. Replace {policy_id} in the URL with the id of the policy that you want to link the projects to. The policy id can be found by navigating to the policy info page (as a Jira admin) and looking at the URL. It is the number found after |