From dc4abadb4d58278c0be3788f4e01189321f4cc3c Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 8 Jan 2026 13:31:50 -0500 Subject: [PATCH] script/ptl-tool: allow setting private on QA issue Signed-off-by: Patrick Donnelly --- src/script/ptl-tool.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/script/ptl-tool.py b/src/script/ptl-tool.py index 502c34b490c0e..a471e70d237a7 100755 --- a/src/script/ptl-tool.py +++ b/src/script/ptl-tool.py @@ -520,6 +520,9 @@ def build_branch(args): "watcher_user_ids": user['id'], } + if args.qa_private: + issue_kwargs['is_private'] = True + if args.update_qa: issue = R.issue.get(args.update_qa) if issue.project.id != project.id: @@ -607,6 +610,7 @@ def main(): group = parser.add_argument_group('QA Control Options') group.add_argument('--create-qa', dest='create_qa', action='store_true', help='create QA run ticket') + group.add_argument('--qa-private', dest='qa_private', action='store_true', help='make the QA run ticket private') group.add_argument('--qa-release', dest='qa_release', action='store', help='QA release for tracker') group.add_argument('--qa-tags', dest='qa_tags', action='store', help='QA tags for tracker') group.add_argument('--update-qa', dest='update_qa', action='store', help='update QA run ticket') -- 2.47.3