[autotest] Use components for Cr-* bugs.

Use components instead of Cr-* label

https://bugs.chromium.org/p/monorail/issues/detail?id=1132
BUG=None
TEST=File a bug in staging instance. Verified the component was applied.

Change-Id: Idabee9de0ed652b93e2f6309a253cd2ffafb6522
Reviewed-on: https://chromium-review.googlesource.com/334293
Commit-Ready: Fang Deng <fdeng@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
Reviewed-by: Fang Deng <fdeng@chromium.org>
diff --git a/site_utils/phapi_lib.py b/site_utils/phapi_lib.py
index 07369b1..1525701 100644
--- a/site_utils/phapi_lib.py
+++ b/site_utils/phapi_lib.py
@@ -356,7 +356,8 @@
                                 'description': 'bug description',
                                 'labels': ['Type-Bug'],
                                 'owner': {'name': 'owner@'},
-                                'cc': [{'name': 'cc1'}, {'name': 'cc2'}]
+                                'cc': [{'name': 'cc1'}, {'name': 'cc2'}],
+                                'components': ["Internals->Components"]
                              }
                              Note the title and descriptions fields of a
                              new bug are not optional, all other fields are.