commit | d296c53c2a168ba7a6139399f01102d604297b9d | [log] [tgz] |
---|---|---|
author | Fang Deng <fdeng@chromium.org> | Mon Mar 21 15:58:10 2016 -0700 |
committer | chrome-bot <chrome-bot@chromium.org> | Mon Mar 21 21:16:52 2016 -0700 |
tree | a2e2d49a53ab788d011cc68571de35c337f78cee | |
parent | 4137af139a218df1edd8052eb26a99fc8e199f69 [diff] [blame] |
[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.