From ba1ce25844cf80c9f4dd9239feb17d6f44fb70ec Mon Sep 17 00:00:00 2001 From: Conrado Costa Date: Tue, 21 Jan 2025 15:53:10 -0500 Subject: [PATCH] add e2e test for flaw affect and tracker --- ...stE2E.test_flaw_affect_tracker[False].yaml | 2204 +++++++++++++++ ...estE2E.test_flaw_affect_tracker[True].yaml | 2365 +++++++++++++++++ osidb/tests/test_e2e.py | 283 ++ 3 files changed, 4852 insertions(+) create mode 100644 osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[False].yaml create mode 100644 osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[True].yaml create mode 100644 osidb/tests/test_e2e.py diff --git a/osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[False].yaml b/osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[False].yaml new file mode 100644 index 000000000..e2ac452b7 --- /dev/null +++ b/osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[False].yaml @@ -0,0 +1,2204 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/mypermissions?projectKey=OSIM + response: + body: + string: '{"permissions": {"ARCHIVE_ISSUES": {"id": "-1", "key": "ARCHIVE_ISSUES", + "name": "Archive Issues", "type": "PROJECT", "description": "Ability to archive + issues for a specific project.", "havePermission": true}, "VIEW_WORKFLOW_READONLY": + {"id": "45", "key": "VIEW_WORKFLOW_READONLY", "name": "View Read-Only Workflow", + "type": "PROJECT", "description": "admin.permissions.descriptions.VIEW_WORKFLOW_READONLY", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUES": {"id": "11", + "key": "CREATE_ISSUES", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true}, "VIEW_DEV_TOOLS": {"id": + "29", "key": "VIEW_DEV_TOOLS", "name": "View Development Tools", "type": "PROJECT", + "description": "Allows users in a software project to view development-related + information on the issue, such as commits, reviews and build information.", + "havePermission": true}, "BULK_CHANGE": {"id": "33", "key": "BULK_CHANGE", + "name": "Bulk Change", "type": "GLOBAL", "description": "Ability to modify + a collection of issues at once. For example, resolve multiple issues in one + step.", "havePermission": true}, "CREATE_ATTACHMENT": {"id": "19", "key": + "CREATE_ATTACHMENT", "name": "Create Attachments", "type": "PROJECT", "description": + "Users with this permission may create attachments.", "havePermission": true, + "deprecatedKey": true}, "DELETE_OWN_COMMENTS": {"id": "37", "key": "DELETE_OWN_COMMENTS", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true}, "WORK_ON_ISSUES": + {"id": "20", "key": "WORK_ON_ISSUES", "name": "Work On Issues", "type": "PROJECT", + "description": "Ability to log work done against an issue. Only useful if + Time Tracking is turned on.", "havePermission": true}, "PROJECT_ADMIN": {"id": + "23", "key": "PROJECT_ADMIN", "name": "Administer Projects", "type": "PROJECT", + "description": "Ability to administer a project in Jira.", "havePermission": + true, "deprecatedKey": true}, "COMMENT_EDIT_ALL": {"id": "34", "key": "COMMENT_EDIT_ALL", + "name": "Edit All Comments", "type": "PROJECT", "description": "Ability to + edit all comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ATTACHMENT_DELETE_OWN": {"id": "39", "key": "ATTACHMENT_DELETE_OWN", + "name": "Delete Own Attachments", "type": "PROJECT", "description": "Users + with this permission may delete own attachments.", "havePermission": true, + "deprecatedKey": true}, "WORKLOG_DELETE_OWN": {"id": "42", "key": "WORKLOG_DELETE_OWN", + "name": "Delete Own Worklogs", "type": "PROJECT", "description": "Ability + to delete own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "CLOSE_ISSUE": {"id": "18", "key": "CLOSE_ISSUE", "name": "Close Issues", + "type": "PROJECT", "description": "Ability to close issues. Often useful where + your developers resolve issues, and a QA department closes them.", "havePermission": + true, "deprecatedKey": true}, "MANAGE_WATCHER_LIST": {"id": "32", "key": "MANAGE_WATCHER_LIST", + "name": "Manage Watchers", "type": "PROJECT", "description": "Ability to manage + the watchers of an issue.", "havePermission": true, "deprecatedKey": true}, + "VIEW_VOTERS_AND_WATCHERS": {"id": "31", "key": "VIEW_VOTERS_AND_WATCHERS", + "name": "View Voters and Watchers", "type": "PROJECT", "description": "Ability + to view the voters and watchers of an issue.", "havePermission": true}, "ADD_COMMENTS": + {"id": "15", "key": "ADD_COMMENTS", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true}, "COMMENT_DELETE_ALL": + {"id": "36", "key": "COMMENT_DELETE_ALL", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUE": {"id": "11", + "key": "CREATE_ISSUE", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true, "deprecatedKey": true}, + "DELETE_OWN_ATTACHMENTS": {"id": "39", "key": "DELETE_OWN_ATTACHMENTS", "name": + "Delete Own Attachments", "type": "PROJECT", "description": "Users with this + permission may delete own attachments.", "havePermission": true}, "DELETE_ALL_ATTACHMENTS": + {"id": "38", "key": "DELETE_ALL_ATTACHMENTS", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true}, "ASSIGN_ISSUE": {"id": "13", "key": + "ASSIGN_ISSUE", "name": "Assign Issues", "type": "PROJECT", "description": + "Ability to assign issues to other people.", "havePermission": true, "deprecatedKey": + true}, "LINK_ISSUE": {"id": "21", "key": "LINK_ISSUE", "name": "Link Issues", + "type": "PROJECT", "description": "Ability to link issues together and create + linked issues. Only useful if issue linking is turned on.", "havePermission": + true, "deprecatedKey": true}, "EDIT_OWN_WORKLOGS": {"id": "40", "key": "EDIT_OWN_WORKLOGS", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true}, "CREATE_ATTACHMENTS": + {"id": "19", "key": "CREATE_ATTACHMENTS", "name": "Create Attachments", "type": + "PROJECT", "description": "Users with this permission may create attachments.", + "havePermission": true}, "EDIT_ALL_WORKLOGS": {"id": "41", "key": "EDIT_ALL_WORKLOGS", + "name": "Edit All Worklogs", "type": "PROJECT", "description": "Ability to + edit all worklogs made on issues.", "havePermission": true}, "SCHEDULE_ISSUE": + {"id": "28", "key": "SCHEDULE_ISSUE", "name": "Schedule Issues", "type": "PROJECT", + "description": "Ability to view or edit an issue''s due date.", "havePermission": + true, "deprecatedKey": true}, "CLOSE_ISSUES": {"id": "18", "key": "CLOSE_ISSUES", + "name": "Close Issues", "type": "PROJECT", "description": "Ability to close + issues. Often useful where your developers resolve issues, and a QA department + closes them.", "havePermission": true}, "SET_ISSUE_SECURITY": {"id": "26", + "key": "SET_ISSUE_SECURITY", "name": "Set Issue Security", "type": "PROJECT", + "description": "Ability to set the level of security on an issue so that only + people in that security level can see the issue.", "havePermission": true}, + "SCHEDULE_ISSUES": {"id": "28", "key": "SCHEDULE_ISSUES", "name": "Schedule + Issues", "type": "PROJECT", "description": "Ability to view or edit an issue''s + due date.", "havePermission": true}, "WORKLOG_DELETE_ALL": {"id": "43", "key": + "WORKLOG_DELETE_ALL", "name": "Delete All Worklogs", "type": "PROJECT", "description": + "Ability to delete all worklogs made on issues.", "havePermission": true, + "deprecatedKey": true}, "COMMENT_DELETE_OWN": {"id": "37", "key": "COMMENT_DELETE_OWN", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ADMINISTER_PROJECTS": {"id": "23", "key": "ADMINISTER_PROJECTS", "name": + "Administer Projects", "type": "PROJECT", "description": "Ability to administer + a project in Jira.", "havePermission": true}, "DELETE_ALL_COMMENTS": {"id": + "36", "key": "DELETE_ALL_COMMENTS", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true}, "RESOLVE_ISSUES": {"id": "14", "key": "RESOLVE_ISSUES", + "name": "Resolve Issues", "type": "PROJECT", "description": "Ability to resolve + and reopen issues. This includes the ability to set a fix version.", "havePermission": + true}, "VIEW_READONLY_WORKFLOW": {"id": "45", "key": "VIEW_READONLY_WORKFLOW", + "name": "View Read-Only Workflow", "type": "PROJECT", "description": "Users + with this permission may view a read-only version of a workflow.", "havePermission": + true}, "ADMINISTER": {"id": "0", "key": "ADMINISTER", "name": "Jira Administrators", + "type": "GLOBAL", "description": "Ability to perform most administration functions + (excluding Import & Export, SMTP Configuration, etc.).", "havePermission": + false}, "GLOBAL_BROWSE_ARCHIVE": {"id": "-1", "key": "GLOBAL_BROWSE_ARCHIVE", + "name": "Browse Archive", "type": "GLOBAL", "description": "Ability to browse + all archived issues.", "havePermission": false}, "MOVE_ISSUES": {"id": "25", + "key": "MOVE_ISSUES", "name": "Move Issues", "type": "PROJECT", "description": + "Ability to move issues between projects or between workflows of the same + project (if applicable). Note the user can only move issues to a project he + or she has the create permission for.", "havePermission": true}, "TRANSITION_ISSUES": + {"id": "46", "key": "TRANSITION_ISSUES", "name": "Transition Issues", "type": + "PROJECT", "description": "Ability to transition issues.", "havePermission": + true}, "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION": {"id": "-1", "key": "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION", + "name": "Edit Sprints", "type": "PROJECT", "description": "Ability to edit + sprint name and goal.", "havePermission": false}, "SYSTEM_ADMIN": {"id": "44", + "key": "SYSTEM_ADMIN", "name": "Jira System Administrators", "type": "GLOBAL", + "description": "Ability to perform all administration functions. There must + be at least one group with this permission.", "havePermission": false}, "DELETE_OWN_WORKLOGS": + {"id": "42", "key": "DELETE_OWN_WORKLOGS", "name": "Delete Own Worklogs", + "type": "PROJECT", "description": "Ability to delete own worklogs made on + issues.", "havePermission": true}, "BROWSE": {"id": "10", "key": "BROWSE", + "name": "Browse Projects", "type": "PROJECT", "description": "Ability to browse + projects and the issues within them.", "havePermission": true, "deprecatedKey": + true}, "EDIT_ISSUE": {"id": "12", "key": "EDIT_ISSUE", "name": "Edit Issues", + "type": "PROJECT", "description": "Ability to edit issues.", "havePermission": + true, "deprecatedKey": true}, "MODIFY_REPORTER": {"id": "30", "key": "MODIFY_REPORTER", + "name": "Modify Reporter", "type": "PROJECT", "description": "Ability to modify + the reporter when creating or editing an issue.", "havePermission": true}, + "EDIT_ISSUES": {"id": "12", "key": "EDIT_ISSUES", "name": "Edit Issues", "type": + "PROJECT", "description": "Ability to edit issues.", "havePermission": true}, + "MANAGE_WATCHERS": {"id": "32", "key": "MANAGE_WATCHERS", "name": "Manage + Watchers", "type": "PROJECT", "description": "Ability to manage the watchers + of an issue.", "havePermission": true}, "EDIT_OWN_COMMENTS": {"id": "35", + "key": "EDIT_OWN_COMMENTS", "name": "Edit Own Comments", "type": "PROJECT", + "description": "Ability to edit own comments made on issues.", "havePermission": + true}, "ASSIGN_ISSUES": {"id": "13", "key": "ASSIGN_ISSUES", "name": "Assign + Issues", "type": "PROJECT", "description": "Ability to assign issues to other + people.", "havePermission": true}, "BROWSE_PROJECTS": {"id": "10", "key": + "BROWSE_PROJECTS", "name": "Browse Projects", "type": "PROJECT", "description": + "Ability to browse projects and the issues within them.", "havePermission": + true}, "gtmhub-view-OKRs-permissions": {"id": "-1", "key": "gtmhub-view-OKRs-permissions", + "name": "View OKRs", "type": "GLOBAL", "description": "Ability to view Quantive + Results OKRs (Objective and key results) that are linked to a given issue", + "havePermission": false}, "RESTORE_ISSUES": {"id": "-1", "key": "RESTORE_ISSUES", + "name": "Restore Issues", "type": "PROJECT", "description": "Ability to restore + issues for a specific project.", "havePermission": true}, "BROWSE_ARCHIVE": + {"id": "-1", "key": "BROWSE_ARCHIVE", "name": "Browse Project Archive", "type": + "PROJECT", "description": "Ability to browse archived issues from a specific + project.", "havePermission": true}, "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL": {"id": + "-1", "key": "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL", "name": "Impersonate users + in A4J global scope", "type": "GLOBAL", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": true}, + "VIEW_VERSION_CONTROL": {"id": "29", "key": "VIEW_VERSION_CONTROL", "name": + "View Development Tools", "type": "PROJECT", "description": "Allows users + to view development-related information on the view issue screen, like commits, + reviews and build information.", "havePermission": true, "deprecatedKey": + true}, "START_STOP_SPRINTS_PERMISSION": {"id": "-1", "key": "START_STOP_SPRINTS_PERMISSION", + "name": "Start/Complete Sprints", "type": "PROJECT", "description": "Ability + to start and complete sprints.", "havePermission": true}, "WORK_ISSUE": {"id": + "20", "key": "WORK_ISSUE", "name": "Work On Issues", "type": "PROJECT", "description": + "Ability to log work done against an issue. Only useful if Time Tracking is + turned on.", "havePermission": true, "deprecatedKey": true}, "COMMENT_ISSUE": + {"id": "15", "key": "COMMENT_ISSUE", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true, "deprecatedKey": + true}, "WORKLOG_EDIT_ALL": {"id": "41", "key": "WORKLOG_EDIT_ALL", "name": + "Edit All Worklogs", "type": "PROJECT", "description": "Ability to edit all + worklogs made on issues.", "havePermission": true, "deprecatedKey": true}, + "EDIT_ALL_COMMENTS": {"id": "34", "key": "EDIT_ALL_COMMENTS", "name": "Edit + All Comments", "type": "PROJECT", "description": "Ability to edit all comments + made on issues.", "havePermission": true}, "DELETE_ISSUE": {"id": "16", "key": + "DELETE_ISSUE", "name": "Delete Issues", "type": "PROJECT", "description": + "Ability to delete issues.", "havePermission": false, "deprecatedKey": true}, + "MANAGE_SPRINTS_PERMISSION": {"id": "-1", "key": "MANAGE_SPRINTS_PERMISSION", + "name": "Manage Sprints", "type": "PROJECT", "description": "Ability to manage + sprints.", "havePermission": true}, "USER_PICKER": {"id": "27", "key": "USER_PICKER", + "name": "Browse Users", "type": "GLOBAL", "description": "Ability to select + a user or group from a popup window as well as the ability to use the ''share'' + issues feature. Users with this permission will also be able to see names + of all users and groups in the system.", "havePermission": true}, "CREATE_SHARED_OBJECTS": + {"id": "22", "key": "CREATE_SHARED_OBJECTS", "name": "Create Shared Objects", + "type": "GLOBAL", "description": "Ability to share dashboards and filters + with other users, groups and roles.", "havePermission": true}, "ATTACHMENT_DELETE_ALL": + {"id": "38", "key": "ATTACHMENT_DELETE_ALL", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true, "deprecatedKey": true}, "DELETE_ISSUES": + {"id": "16", "key": "DELETE_ISSUES", "name": "Delete Issues", "type": "PROJECT", + "description": "Ability to delete issues.", "havePermission": false}, "MANAGE_GROUP_FILTER_SUBSCRIPTIONS": + {"id": "24", "key": "MANAGE_GROUP_FILTER_SUBSCRIPTIONS", "name": "Manage Group + Filter Subscriptions", "type": "GLOBAL", "description": "Ability to manage + (create and delete) group filter subscriptions.", "havePermission": true}, + "RESOLVE_ISSUE": {"id": "14", "key": "RESOLVE_ISSUE", "name": "Resolve Issues", + "type": "PROJECT", "description": "Ability to resolve and reopen issues. This + includes the ability to set a fix version.", "havePermission": true, "deprecatedKey": + true}, "SERVICEDESK_AGENT": {"id": "-1", "key": "SERVICEDESK_AGENT", "name": + "Service Desk Agent", "type": "PROJECT", "description": "Allows users to interact + with customers and access Jira Service Management features of a project.", + "havePermission": false}, "A4J_PERM_IMPERSONATE_ACTOR_PROJECT": {"id": "-1", + "key": "A4J_PERM_IMPERSONATE_ACTOR_PROJECT", "name": "Impersonate users in + A4J project scope", "type": "PROJECT", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": false}, + "ASSIGNABLE_USER": {"id": "17", "key": "ASSIGNABLE_USER", "name": "Assignable + User", "type": "PROJECT", "description": "Users with this permission may be + assigned to issues.", "havePermission": true}, "TRANSITION_ISSUE": {"id": + "46", "key": "TRANSITION_ISSUE", "name": "Transition Issues", "type": "PROJECT", + "description": "Ability to transition issues.", "havePermission": true, "deprecatedKey": + true}, "COMMENT_EDIT_OWN": {"id": "35", "key": "COMMENT_EDIT_OWN", "name": + "Edit Own Comments", "type": "PROJECT", "description": "Ability to edit own + comments made on issues.", "havePermission": true, "deprecatedKey": true}, + "MOVE_ISSUE": {"id": "25", "key": "MOVE_ISSUE", "name": "Move Issues", "type": + "PROJECT", "description": "Ability to move issues between projects or between + workflows of the same project (if applicable). Note the user can only move + issues to a project he or she has the create permission for.", "havePermission": + true, "deprecatedKey": true}, "WORKLOG_EDIT_OWN": {"id": "40", "key": "WORKLOG_EDIT_OWN", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "DELETE_ALL_WORKLOGS": {"id": "43", "key": "DELETE_ALL_WORKLOGS", "name": + "Delete All Worklogs", "type": "PROJECT", "description": "Ability to delete + all worklogs made on issues.", "havePermission": true}, "LINK_ISSUES": {"id": + "21", "key": "LINK_ISSUES", "name": "Link Issues", "type": "PROJECT", "description": + "Ability to link issues together and create linked issues. Only useful if + issue linking is turned on.", "havePermission": true}, "gtmhub-view-OKRs-prj-permissions": + {"id": "-1", "key": "gtmhub-view-OKRs-prj-permissions", "name": "View OKRs", + "type": "PROJECT", "description": "Ability to view Quantive Results OKRs (Objective + and key results) that are linked to a given issue", "havePermission": false}}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:48 GMT + Expires: + - Tue, 21 Jan 2025 14:31:48 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16539' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 871x54656x1 + x-asessionid: + - 1k8nl7m + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469908.9eba024b + x-rh-edge-request-id: + - 9eba024b + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"fields": {"issuetype": {"id": "17"}, "project": {"id": "12337520"}, "summary": + "test validations", "description": "this is a simple test", "labels": ["flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", + "impact:CRITICAL"], "priority": {"name": "Critical"}, "assignee": {"name": ""}}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '281' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue + response: + body: + string: '{"id": "16348463", "key": "OSIM-19918", "self": "https://example.com/rest/api/2/issue/16348463"}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + - Transfer-Encoding + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:50 GMT + Expires: + - Tue, 21 Jan 2025 14:31:50 GMT + Pragma: + - no-cache + Transfer-Encoding: + - chunked + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '103' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 871x54657x1 + x-asessionid: + - 1nln2eh + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469908.9eba02e1 + x-rh-edge-request-id: + - 9eba02e1 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/OSIM-19918 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348463", "self": "https://example.com/rest/api/2/issue/16348463", + "key": "OSIM-19918", "fields": {"customfield_12324540": "0.0", "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@5ac4a490[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@1d123d1a[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@56fa5e9c[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@5a0c53b4[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@175ca885[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@12448845[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@164e3a2f[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@2e675aa1[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@5c8dd768[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@6abd7a1c[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@d45aa26[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@19634b7d[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12326040": null, "customfield_12315950": null, "customfield_12310940": + null, "lastViewed": null, "customfield_12313140": null, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", + "impact:CRITICAL"], "aggregatetimeoriginalestimate": null, "timeestimate": + null, "versions": [], "issuelinks": [], "assignee": null, "customfield_12313942": + null, "customfield_12313941": null, "status": {"self": "https://example.com/rest/api/2/status/10016", + "description": "Initial creation status. Implies nothing yet and should be + very short lived; also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [], "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317313": null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "subtasks": [], "customfield_12321140": null, "customfield_12320850": null, + "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12313240": null, "customfield_12319742": null, "progress": + {"progress": 0, "total": 0}, "votes": {"self": "https://example.com/rest/api/2/issue/OSIM-19918/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12325158": + null, "issuetype": {"self": "https://example.com/rest/api/2/issuetype/17", + "id": "17", "description": "Created by Jira Software - do not edit or delete. + Issue type for a user story.", "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=13275&avatarType=issuetype", + "name": "Story", "subtask": false, "avatarId": 13275}, "customfield_12325157": + null, "customfield_12325159": null, "customfield_12318341": null, "customfield_12325154": + null, "customfield_12325153": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12337520", "id": "12337520", + "key": "OSIM", "name": "Open Security Issue Manager", "projectTypeKey": "software", + "avatarUrls": {"48x48": "https://example.com/secure/projectavatar?pid=12337520&avatarId=12560", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12337520&avatarId=12560", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12337520&avatarId=12560", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12337520&avatarId=12560"}}, + "customfield_12320944": null, "aggregatetimespent": null, "customfield_12310220": + null, "resolutiondate": null, "customfield_12325150": null, "workratio": -1, + "customfield_12325152": null, "customfield_12316840": null, "customfield_12317379": + null, "customfield_12325151": null, "customfield_12316841": null, "customfield_12319040": + null, "customfield_12325047": null, "watches": {"self": "https://example.com/rest/api/2/issue/OSIM-19918/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12325044": null, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:49.074+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + {"self": "https://example.com/rest/api/2/customFieldOption/27705", "value": + "False", "id": "27705", "disabled": false}, "customfield_12325040": [], "customfield_12325160": + null, "customfield_12325042": null, "customfield_12325041": null, "updated": + "2025-01-21T14:31:49.074+0000", "customfield_12316142": null, "timeoriginalestimate": + null, "description": "this is a simple test", "timetracking": {}, "attachment": + [], "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12316544": "None", + "customfield_12310840": "9223372036854775807", "summary": "test validations", + "customfield_12323640": null, "customfield_12325147": null, "customfield_12325146": + null, "customfield_12323642": null, "customfield_12325149": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12325142": + null, "customfield_12325145": null, "customfield_12325144": null, "customfield_12323644": + null, "customfield_12323643": null, "customfield_12323646": null, "customfield_12323645": + null, "environment": null, "customfield_12315740": null, "customfield_12313441": + "", "customfield_12313440": "0.0", "duedate": null, "customfield_12311140": + null, "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": + 0}, "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27puf:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:50 GMT + Expires: + - Tue, 21 Jan 2025 14:31:50 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '9645' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 871x54658x1 + x-asessionid: + - 1debiim + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469910.9eba0c5c + x-rh-edge-request-id: + - 9eba0c5c + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-bugzilla/3.3.0 + method: GET + uri: https://example.com/rest/version + response: + body: + string: '{"version": "5.0.4.rh103"}' + headers: + Access-Control-Allow-Headers: + - origin, content-type, accept, x-requested-with + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - private, must-revalidate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json; charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:50 GMT + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + X-content-type-options: + - nosniff + X-xss-protection: + - 1; mode=block + x-rh-edge-cache-status: + - Miss from child, Miss from parent + x-rh-edge-reference-id: + - 0.15deda17.1737469910.8b16f81c + x-rh-edge-request-id: + - 8b16f81c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-bugzilla/3.3.0 + method: GET + uri: https://example.com/rest/user?ids=1 + response: + body: + string: '{"users": [{"name": "aander07@packetmaster.com", "email": "aander07@packetmaster.com", + "real_name": "Need Real Name", "can_login": true, "id": 1}]}' + headers: + Access-Control-Allow-Headers: + - origin, content-type, accept, x-requested-with + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - private, must-revalidate + Connection: + - keep-alive + Content-Length: + - '137' + Content-Type: + - application/json; charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:51 GMT + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + X-content-type-options: + - nosniff + X-xss-protection: + - 1; mode=block + x-rh-edge-cache-status: + - Miss from child, Miss from parent + x-rh-edge-reference-id: + - 0.15deda17.1737469910.8b16f8fe + x-rh-edge-request-id: + - 8b16f8fe + status: + code: 200 + message: OK +- request: + body: '{"product": "Security Response", "op_sys": "Linux", "platform": "All", + "version": "unspecified", "component": "vulnerability-draft", "cf_release_notes": + "", "severity": "urgent", "priority": "urgent", "summary": "curl: test validations", + "description": "this is a simple test", "comment_is_private": false, "keywords": + ["Security"], "flags": [], "groups": [], "cc": []}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '369' + Content-Type: + - application/json + User-Agent: + - python-bugzilla/3.3.0 + method: POST + uri: https://example.com/rest/bug + response: + body: + string: '{"id": 2312097}' + headers: + Access-Control-Allow-Headers: + - origin, content-type, accept, x-requested-with + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - private, must-revalidate + Connection: + - keep-alive + Content-Length: + - '14' + Content-Type: + - application/json; charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:52 GMT + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + X-content-type-options: + - nosniff + X-xss-protection: + - 1; mode=block + x-rh-edge-cache-status: + - Miss from child, Miss from parent + x-rh-edge-reference-id: + - 0.15deda17.1737469911.8b16fa56 + x-rh-edge-request-id: + - 8b16fa56 + status: + code: 200 + message: OK +- request: + body: '{"fields": {"issuetype": {"name": "Bug"}, "project": {"key": "RHEL"}, "components": + [{"name": "kernel / Other"}], "priority": {"name": "Critical"}, "description": + "Security Tracking Issue\n\nDo not make this issue public.\n\nFlaw:\n-----\n\ntest + validations\nhttps://bugzilla.stage.redhat.com/show_bug.cgi?id=2312097\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "labels": ["Security", + "SecurityTracking", "flaw:bz#2312097", "flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", + "pscomponent:kernel"], "summary": "kernel: test validations [rhel-8]", "security": + {"name": "Red Hat Employee"}}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '687' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue + response: + body: + string: '{"id": "16348558", "key": "RHEL-59746", "self": "https://example.com/rest/api/2/issue/16348558"}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - close + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:56 GMT + Expires: + - Tue, 21 Jan 2025 14:31:56 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '103' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30018x1 + x-asessionid: + - 9b5kt + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469913.9eba26fc + x-rh-edge-request-id: + - 9eba26fc + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59746 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348558", "self": "https://example.com/rest/api/2/issue/16348558", + "key": "RHEL-59746", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@4e3d06c3[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@700c0d97[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@45b36cd1[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@5543b145[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@1ebac3e2[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@e1f78c7[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@50145831[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@181502ef[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@507867dc[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@25d4f454[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@57f3f50f[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@67c19764[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + "2026-01-20", "customfield_12326041": null, "customfield_12315950": null, + "customfield_12310940": null, "customfield_12321440": null, "lastViewed": + null, "customfield_12321040": null, "customfield_12317340": null, "customfield_12323341": + null, "customfield_12317341": null, "customfield_12319640": null, "customfield_12317342": + null, "customfield_12313140": null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312097", "flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59746/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59746/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:53.347+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:32:03.187+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": {"self": "https://example.com/rest/api/2/customFieldOption/26750", + "value": "Critical", "id": "26750", "disabled": false}, "customfield_12322141": + null, "customfield_12322142": null, "timeoriginalestimate": null, "description": + "Security Tracking Issue\n\nDo not make this issue public.\n\nFlaw:\n-----\n\ntest + validations\nhttps://example.com/show_bug.cgi?id=2312097\n\nthis is a simple + test\n\n~~~\n\nReproducers, if any, will remain confidential and never be + made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11694", + "id": "11694", "description": "Restricts access to Red Hat employees who are + approved to view product development information", "name": "Red Hat Engineering + Authorized"}, "attachment": [], "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "kernel: test validations [rhel-8]", "customfield_12323640": null, + "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348558/comment/25582724", + "id": "25582724", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:31:55.908+0000", + "updated": "2025-01-21T14:31:55.908+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27pun:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:13 GMT + Expires: + - Tue, 21 Jan 2025 14:32:13 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16590' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 872x30034x2 + x-asessionid: + - h9ceiv + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469933.8b176106 + x-rh-edge-request-id: + - 8b176106 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59746 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348558", "self": "https://example.com/rest/api/2/issue/16348558", + "key": "RHEL-59746", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@4421502d[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@65dd0fd1[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@7c79dacc[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@7157e115[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@faff646[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@71458b4[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@35895d20[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@7b185dcd[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@b75892e[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@2e81a10c[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@511e99a1[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@6851407a[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + "2026-01-20", "customfield_12326041": null, "customfield_12315950": null, + "customfield_12310940": null, "customfield_12321440": null, "lastViewed": + null, "customfield_12321040": null, "customfield_12317340": null, "customfield_12323341": + null, "customfield_12317341": null, "customfield_12319640": null, "customfield_12317342": + null, "customfield_12313140": null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312097", "flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59746/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59746/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:53.347+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:32:03.187+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": {"self": "https://example.com/rest/api/2/customFieldOption/26750", + "value": "Critical", "id": "26750", "disabled": false}, "customfield_12322141": + null, "customfield_12322142": null, "timeoriginalestimate": null, "description": + "Security Tracking Issue\n\nDo not make this issue public.\n\nFlaw:\n-----\n\ntest + validations\nhttps://example.com/show_bug.cgi?id=2312097\n\nthis is a simple + test\n\n~~~\n\nReproducers, if any, will remain confidential and never be + made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11694", + "id": "11694", "description": "Restricts access to Red Hat employees who are + approved to view product development information", "name": "Red Hat Engineering + Authorized"}, "attachment": [], "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "kernel: test validations [rhel-8]", "customfield_12323640": null, + "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348558/comment/25582724", + "id": "25582724", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:31:55.908+0000", + "updated": "2025-01-21T14:31:55.908+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27pun:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:14 GMT + Expires: + - Tue, 21 Jan 2025 14:32:14 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16588' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 872x30035x1 + x-asessionid: + - 1spudgj + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469934.9ebad20c + x-rh-edge-request-id: + - 9ebad20c + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"fields": {"issuetype": {"name": "Bug"}, "project": {"key": "RHEL"}, "components": + [{"name": "kernel / Other"}], "priority": {"name": "Critical"}, "description": + "Security Tracking Issue\n\nDo not make this issue public.\n\nFlaw:\n-----\n\ntest + validations\nhttps://bugzilla.stage.redhat.com/show_bug.cgi?id=2312097\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "labels": ["Security", + "SecurityTracking", "flaw:bz#2312097", "flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", + "pscomponent:kernel"], "summary": "kernel: test validations [rhel-8.10.z]", + "security": {"name": "Red Hat Employee"}}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '692' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue + response: + body: + string: '{"id": "16348664", "key": "RHEL-59747", "self": "https://example.com/rest/api/2/issue/16348664"}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:17 GMT + Expires: + - Tue, 21 Jan 2025 14:32:17 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '103' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-1 + x-arequestid: + - 872x211145x1 + x-asessionid: + - 16wnuk3 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469934.8b176612 + x-rh-edge-request-id: + - 8b176612 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59747 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348664", "self": "https://example.com/rest/api/2/issue/16348664", + "key": "RHEL-59747", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@77aa1598[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@13e70dfe[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@3b33229[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@2890475c[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@42a60c91[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@71a8ec66[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@6b10aa00[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@4190aa99[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@3320e4be[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@55df560[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@6bf30f61[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@2ff3a4e4[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + null, "customfield_12326041": null, "customfield_12315950": null, "customfield_12310940": + null, "customfield_12321440": null, "lastViewed": null, "customfield_12321040": + null, "customfield_12317340": null, "customfield_12323341": null, "customfield_12317341": + null, "customfield_12319640": null, "customfield_12317342": null, "customfield_12313140": + null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312097", "flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59747/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59747/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:32:15.042+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:32:17.222+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": null, "customfield_12322141": null, "customfield_12322142": + null, "timeoriginalestimate": null, "description": "Security Tracking Issue\n\nDo + not make this issue public.\n\nFlaw:\n-----\n\ntest validations\nhttps://example.com/show_bug.cgi?id=2312097\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11694", + "id": "11694", "description": "Restricts access to Red Hat employees who are + approved to view product development information", "name": "Red Hat Engineering + Authorized"}, "attachment": [], "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "kernel: test validations [rhel-8.10.z]", "customfield_12323640": + null, "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348664/comment/25582351", + "id": "25582351", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:32:17.222+0000", + "updated": "2025-01-21T14:32:17.222+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27puv:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:17 GMT + Expires: + - Tue, 21 Jan 2025 14:32:17 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16464' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-1 + x-arequestid: + - 872x211147x1 + x-asessionid: + - dglh62 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469937.8b177137 + x-rh-edge-request-id: + - 8b177137 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59747 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348664", "self": "https://example.com/rest/api/2/issue/16348664", + "key": "RHEL-59747", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@66217c16[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@51e8a419[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@22b00cb4[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@36ecbc97[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@102ebebe[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@3f5994c6[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@1daeea35[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@4ef5e513[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@2bcb793d[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@58c73726[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@32528149[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@536e276d[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + null, "customfield_12326041": null, "customfield_12315950": null, "customfield_12310940": + null, "customfield_12321440": null, "lastViewed": null, "customfield_12321040": + null, "customfield_12317340": null, "customfield_12323341": null, "customfield_12317341": + null, "customfield_12319640": null, "customfield_12317342": null, "customfield_12313140": + null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312097", "flawuuid:cfd23703-c5b0-4dfe-bc24-8076dd8c1dd6", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59747/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59747/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:32:15.042+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:32:17.222+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": null, "customfield_12322141": null, "customfield_12322142": + null, "timeoriginalestimate": null, "description": "Security Tracking Issue\n\nDo + not make this issue public.\n\nFlaw:\n-----\n\ntest validations\nhttps://example.com/show_bug.cgi?id=2312097\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11694", + "id": "11694", "description": "Restricts access to Red Hat employees who are + approved to view product development information", "name": "Red Hat Engineering + Authorized"}, "attachment": [], "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "kernel: test validations [rhel-8.10.z]", "customfield_12323640": + null, "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348664/comment/25582351", + "id": "25582351", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:32:17.222+0000", + "updated": "2025-01-21T14:32:17.222+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27puv:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:18 GMT + Expires: + - Tue, 21 Jan 2025 14:32:18 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16466' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 872x54673x1 + x-asessionid: + - 83k7p1 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469937.9ebaeecc + x-rh-edge-request-id: + - 9ebaeecc + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/mypermissions?projectKey=OSIM + response: + body: + string: '{"permissions": {"ARCHIVE_ISSUES": {"id": "-1", "key": "ARCHIVE_ISSUES", + "name": "Archive Issues", "type": "PROJECT", "description": "Ability to archive + issues for a specific project.", "havePermission": true}, "VIEW_WORKFLOW_READONLY": + {"id": "45", "key": "VIEW_WORKFLOW_READONLY", "name": "View Read-Only Workflow", + "type": "PROJECT", "description": "admin.permissions.descriptions.VIEW_WORKFLOW_READONLY", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUES": {"id": "11", + "key": "CREATE_ISSUES", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true}, "VIEW_DEV_TOOLS": {"id": + "29", "key": "VIEW_DEV_TOOLS", "name": "View Development Tools", "type": "PROJECT", + "description": "Allows users in a software project to view development-related + information on the issue, such as commits, reviews and build information.", + "havePermission": true}, "BULK_CHANGE": {"id": "33", "key": "BULK_CHANGE", + "name": "Bulk Change", "type": "GLOBAL", "description": "Ability to modify + a collection of issues at once. For example, resolve multiple issues in one + step.", "havePermission": true}, "CREATE_ATTACHMENT": {"id": "19", "key": + "CREATE_ATTACHMENT", "name": "Create Attachments", "type": "PROJECT", "description": + "Users with this permission may create attachments.", "havePermission": true, + "deprecatedKey": true}, "DELETE_OWN_COMMENTS": {"id": "37", "key": "DELETE_OWN_COMMENTS", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true}, "WORK_ON_ISSUES": + {"id": "20", "key": "WORK_ON_ISSUES", "name": "Work On Issues", "type": "PROJECT", + "description": "Ability to log work done against an issue. Only useful if + Time Tracking is turned on.", "havePermission": true}, "PROJECT_ADMIN": {"id": + "23", "key": "PROJECT_ADMIN", "name": "Administer Projects", "type": "PROJECT", + "description": "Ability to administer a project in Jira.", "havePermission": + true, "deprecatedKey": true}, "COMMENT_EDIT_ALL": {"id": "34", "key": "COMMENT_EDIT_ALL", + "name": "Edit All Comments", "type": "PROJECT", "description": "Ability to + edit all comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ATTACHMENT_DELETE_OWN": {"id": "39", "key": "ATTACHMENT_DELETE_OWN", + "name": "Delete Own Attachments", "type": "PROJECT", "description": "Users + with this permission may delete own attachments.", "havePermission": true, + "deprecatedKey": true}, "WORKLOG_DELETE_OWN": {"id": "42", "key": "WORKLOG_DELETE_OWN", + "name": "Delete Own Worklogs", "type": "PROJECT", "description": "Ability + to delete own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "CLOSE_ISSUE": {"id": "18", "key": "CLOSE_ISSUE", "name": "Close Issues", + "type": "PROJECT", "description": "Ability to close issues. Often useful where + your developers resolve issues, and a QA department closes them.", "havePermission": + true, "deprecatedKey": true}, "MANAGE_WATCHER_LIST": {"id": "32", "key": "MANAGE_WATCHER_LIST", + "name": "Manage Watchers", "type": "PROJECT", "description": "Ability to manage + the watchers of an issue.", "havePermission": true, "deprecatedKey": true}, + "VIEW_VOTERS_AND_WATCHERS": {"id": "31", "key": "VIEW_VOTERS_AND_WATCHERS", + "name": "View Voters and Watchers", "type": "PROJECT", "description": "Ability + to view the voters and watchers of an issue.", "havePermission": true}, "ADD_COMMENTS": + {"id": "15", "key": "ADD_COMMENTS", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true}, "COMMENT_DELETE_ALL": + {"id": "36", "key": "COMMENT_DELETE_ALL", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUE": {"id": "11", + "key": "CREATE_ISSUE", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true, "deprecatedKey": true}, + "DELETE_OWN_ATTACHMENTS": {"id": "39", "key": "DELETE_OWN_ATTACHMENTS", "name": + "Delete Own Attachments", "type": "PROJECT", "description": "Users with this + permission may delete own attachments.", "havePermission": true}, "DELETE_ALL_ATTACHMENTS": + {"id": "38", "key": "DELETE_ALL_ATTACHMENTS", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true}, "ASSIGN_ISSUE": {"id": "13", "key": + "ASSIGN_ISSUE", "name": "Assign Issues", "type": "PROJECT", "description": + "Ability to assign issues to other people.", "havePermission": true, "deprecatedKey": + true}, "LINK_ISSUE": {"id": "21", "key": "LINK_ISSUE", "name": "Link Issues", + "type": "PROJECT", "description": "Ability to link issues together and create + linked issues. Only useful if issue linking is turned on.", "havePermission": + true, "deprecatedKey": true}, "EDIT_OWN_WORKLOGS": {"id": "40", "key": "EDIT_OWN_WORKLOGS", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true}, "CREATE_ATTACHMENTS": + {"id": "19", "key": "CREATE_ATTACHMENTS", "name": "Create Attachments", "type": + "PROJECT", "description": "Users with this permission may create attachments.", + "havePermission": true}, "EDIT_ALL_WORKLOGS": {"id": "41", "key": "EDIT_ALL_WORKLOGS", + "name": "Edit All Worklogs", "type": "PROJECT", "description": "Ability to + edit all worklogs made on issues.", "havePermission": true}, "SCHEDULE_ISSUE": + {"id": "28", "key": "SCHEDULE_ISSUE", "name": "Schedule Issues", "type": "PROJECT", + "description": "Ability to view or edit an issue''s due date.", "havePermission": + true, "deprecatedKey": true}, "CLOSE_ISSUES": {"id": "18", "key": "CLOSE_ISSUES", + "name": "Close Issues", "type": "PROJECT", "description": "Ability to close + issues. Often useful where your developers resolve issues, and a QA department + closes them.", "havePermission": true}, "SET_ISSUE_SECURITY": {"id": "26", + "key": "SET_ISSUE_SECURITY", "name": "Set Issue Security", "type": "PROJECT", + "description": "Ability to set the level of security on an issue so that only + people in that security level can see the issue.", "havePermission": true}, + "SCHEDULE_ISSUES": {"id": "28", "key": "SCHEDULE_ISSUES", "name": "Schedule + Issues", "type": "PROJECT", "description": "Ability to view or edit an issue''s + due date.", "havePermission": true}, "WORKLOG_DELETE_ALL": {"id": "43", "key": + "WORKLOG_DELETE_ALL", "name": "Delete All Worklogs", "type": "PROJECT", "description": + "Ability to delete all worklogs made on issues.", "havePermission": true, + "deprecatedKey": true}, "COMMENT_DELETE_OWN": {"id": "37", "key": "COMMENT_DELETE_OWN", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ADMINISTER_PROJECTS": {"id": "23", "key": "ADMINISTER_PROJECTS", "name": + "Administer Projects", "type": "PROJECT", "description": "Ability to administer + a project in Jira.", "havePermission": true}, "DELETE_ALL_COMMENTS": {"id": + "36", "key": "DELETE_ALL_COMMENTS", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true}, "RESOLVE_ISSUES": {"id": "14", "key": "RESOLVE_ISSUES", + "name": "Resolve Issues", "type": "PROJECT", "description": "Ability to resolve + and reopen issues. This includes the ability to set a fix version.", "havePermission": + true}, "VIEW_READONLY_WORKFLOW": {"id": "45", "key": "VIEW_READONLY_WORKFLOW", + "name": "View Read-Only Workflow", "type": "PROJECT", "description": "Users + with this permission may view a read-only version of a workflow.", "havePermission": + true}, "ADMINISTER": {"id": "0", "key": "ADMINISTER", "name": "Jira Administrators", + "type": "GLOBAL", "description": "Ability to perform most administration functions + (excluding Import & Export, SMTP Configuration, etc.).", "havePermission": + false}, "GLOBAL_BROWSE_ARCHIVE": {"id": "-1", "key": "GLOBAL_BROWSE_ARCHIVE", + "name": "Browse Archive", "type": "GLOBAL", "description": "Ability to browse + all archived issues.", "havePermission": false}, "MOVE_ISSUES": {"id": "25", + "key": "MOVE_ISSUES", "name": "Move Issues", "type": "PROJECT", "description": + "Ability to move issues between projects or between workflows of the same + project (if applicable). Note the user can only move issues to a project he + or she has the create permission for.", "havePermission": true}, "TRANSITION_ISSUES": + {"id": "46", "key": "TRANSITION_ISSUES", "name": "Transition Issues", "type": + "PROJECT", "description": "Ability to transition issues.", "havePermission": + true}, "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION": {"id": "-1", "key": "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION", + "name": "Edit Sprints", "type": "PROJECT", "description": "Ability to edit + sprint name and goal.", "havePermission": false}, "SYSTEM_ADMIN": {"id": "44", + "key": "SYSTEM_ADMIN", "name": "Jira System Administrators", "type": "GLOBAL", + "description": "Ability to perform all administration functions. There must + be at least one group with this permission.", "havePermission": false}, "DELETE_OWN_WORKLOGS": + {"id": "42", "key": "DELETE_OWN_WORKLOGS", "name": "Delete Own Worklogs", + "type": "PROJECT", "description": "Ability to delete own worklogs made on + issues.", "havePermission": true}, "BROWSE": {"id": "10", "key": "BROWSE", + "name": "Browse Projects", "type": "PROJECT", "description": "Ability to browse + projects and the issues within them.", "havePermission": true, "deprecatedKey": + true}, "EDIT_ISSUE": {"id": "12", "key": "EDIT_ISSUE", "name": "Edit Issues", + "type": "PROJECT", "description": "Ability to edit issues.", "havePermission": + true, "deprecatedKey": true}, "MODIFY_REPORTER": {"id": "30", "key": "MODIFY_REPORTER", + "name": "Modify Reporter", "type": "PROJECT", "description": "Ability to modify + the reporter when creating or editing an issue.", "havePermission": true}, + "EDIT_ISSUES": {"id": "12", "key": "EDIT_ISSUES", "name": "Edit Issues", "type": + "PROJECT", "description": "Ability to edit issues.", "havePermission": true}, + "MANAGE_WATCHERS": {"id": "32", "key": "MANAGE_WATCHERS", "name": "Manage + Watchers", "type": "PROJECT", "description": "Ability to manage the watchers + of an issue.", "havePermission": true}, "EDIT_OWN_COMMENTS": {"id": "35", + "key": "EDIT_OWN_COMMENTS", "name": "Edit Own Comments", "type": "PROJECT", + "description": "Ability to edit own comments made on issues.", "havePermission": + true}, "ASSIGN_ISSUES": {"id": "13", "key": "ASSIGN_ISSUES", "name": "Assign + Issues", "type": "PROJECT", "description": "Ability to assign issues to other + people.", "havePermission": true}, "BROWSE_PROJECTS": {"id": "10", "key": + "BROWSE_PROJECTS", "name": "Browse Projects", "type": "PROJECT", "description": + "Ability to browse projects and the issues within them.", "havePermission": + true}, "gtmhub-view-OKRs-permissions": {"id": "-1", "key": "gtmhub-view-OKRs-permissions", + "name": "View OKRs", "type": "GLOBAL", "description": "Ability to view Quantive + Results OKRs (Objective and key results) that are linked to a given issue", + "havePermission": false}, "RESTORE_ISSUES": {"id": "-1", "key": "RESTORE_ISSUES", + "name": "Restore Issues", "type": "PROJECT", "description": "Ability to restore + issues for a specific project.", "havePermission": true}, "BROWSE_ARCHIVE": + {"id": "-1", "key": "BROWSE_ARCHIVE", "name": "Browse Project Archive", "type": + "PROJECT", "description": "Ability to browse archived issues from a specific + project.", "havePermission": true}, "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL": {"id": + "-1", "key": "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL", "name": "Impersonate users + in A4J global scope", "type": "GLOBAL", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": true}, + "VIEW_VERSION_CONTROL": {"id": "29", "key": "VIEW_VERSION_CONTROL", "name": + "View Development Tools", "type": "PROJECT", "description": "Allows users + to view development-related information on the view issue screen, like commits, + reviews and build information.", "havePermission": true, "deprecatedKey": + true}, "START_STOP_SPRINTS_PERMISSION": {"id": "-1", "key": "START_STOP_SPRINTS_PERMISSION", + "name": "Start/Complete Sprints", "type": "PROJECT", "description": "Ability + to start and complete sprints.", "havePermission": true}, "WORK_ISSUE": {"id": + "20", "key": "WORK_ISSUE", "name": "Work On Issues", "type": "PROJECT", "description": + "Ability to log work done against an issue. Only useful if Time Tracking is + turned on.", "havePermission": true, "deprecatedKey": true}, "COMMENT_ISSUE": + {"id": "15", "key": "COMMENT_ISSUE", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true, "deprecatedKey": + true}, "WORKLOG_EDIT_ALL": {"id": "41", "key": "WORKLOG_EDIT_ALL", "name": + "Edit All Worklogs", "type": "PROJECT", "description": "Ability to edit all + worklogs made on issues.", "havePermission": true, "deprecatedKey": true}, + "EDIT_ALL_COMMENTS": {"id": "34", "key": "EDIT_ALL_COMMENTS", "name": "Edit + All Comments", "type": "PROJECT", "description": "Ability to edit all comments + made on issues.", "havePermission": true}, "DELETE_ISSUE": {"id": "16", "key": + "DELETE_ISSUE", "name": "Delete Issues", "type": "PROJECT", "description": + "Ability to delete issues.", "havePermission": false, "deprecatedKey": true}, + "MANAGE_SPRINTS_PERMISSION": {"id": "-1", "key": "MANAGE_SPRINTS_PERMISSION", + "name": "Manage Sprints", "type": "PROJECT", "description": "Ability to manage + sprints.", "havePermission": true}, "USER_PICKER": {"id": "27", "key": "USER_PICKER", + "name": "Browse Users", "type": "GLOBAL", "description": "Ability to select + a user or group from a popup window as well as the ability to use the ''share'' + issues feature. Users with this permission will also be able to see names + of all users and groups in the system.", "havePermission": true}, "CREATE_SHARED_OBJECTS": + {"id": "22", "key": "CREATE_SHARED_OBJECTS", "name": "Create Shared Objects", + "type": "GLOBAL", "description": "Ability to share dashboards and filters + with other users, groups and roles.", "havePermission": true}, "ATTACHMENT_DELETE_ALL": + {"id": "38", "key": "ATTACHMENT_DELETE_ALL", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true, "deprecatedKey": true}, "DELETE_ISSUES": + {"id": "16", "key": "DELETE_ISSUES", "name": "Delete Issues", "type": "PROJECT", + "description": "Ability to delete issues.", "havePermission": false}, "MANAGE_GROUP_FILTER_SUBSCRIPTIONS": + {"id": "24", "key": "MANAGE_GROUP_FILTER_SUBSCRIPTIONS", "name": "Manage Group + Filter Subscriptions", "type": "GLOBAL", "description": "Ability to manage + (create and delete) group filter subscriptions.", "havePermission": true}, + "RESOLVE_ISSUE": {"id": "14", "key": "RESOLVE_ISSUE", "name": "Resolve Issues", + "type": "PROJECT", "description": "Ability to resolve and reopen issues. This + includes the ability to set a fix version.", "havePermission": true, "deprecatedKey": + true}, "SERVICEDESK_AGENT": {"id": "-1", "key": "SERVICEDESK_AGENT", "name": + "Service Desk Agent", "type": "PROJECT", "description": "Allows users to interact + with customers and access Jira Service Management features of a project.", + "havePermission": false}, "A4J_PERM_IMPERSONATE_ACTOR_PROJECT": {"id": "-1", + "key": "A4J_PERM_IMPERSONATE_ACTOR_PROJECT", "name": "Impersonate users in + A4J project scope", "type": "PROJECT", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": false}, + "ASSIGNABLE_USER": {"id": "17", "key": "ASSIGNABLE_USER", "name": "Assignable + User", "type": "PROJECT", "description": "Users with this permission may be + assigned to issues.", "havePermission": true}, "TRANSITION_ISSUE": {"id": + "46", "key": "TRANSITION_ISSUE", "name": "Transition Issues", "type": "PROJECT", + "description": "Ability to transition issues.", "havePermission": true, "deprecatedKey": + true}, "COMMENT_EDIT_OWN": {"id": "35", "key": "COMMENT_EDIT_OWN", "name": + "Edit Own Comments", "type": "PROJECT", "description": "Ability to edit own + comments made on issues.", "havePermission": true, "deprecatedKey": true}, + "MOVE_ISSUE": {"id": "25", "key": "MOVE_ISSUE", "name": "Move Issues", "type": + "PROJECT", "description": "Ability to move issues between projects or between + workflows of the same project (if applicable). Note the user can only move + issues to a project he or she has the create permission for.", "havePermission": + true, "deprecatedKey": true}, "WORKLOG_EDIT_OWN": {"id": "40", "key": "WORKLOG_EDIT_OWN", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "DELETE_ALL_WORKLOGS": {"id": "43", "key": "DELETE_ALL_WORKLOGS", "name": + "Delete All Worklogs", "type": "PROJECT", "description": "Ability to delete + all worklogs made on issues.", "havePermission": true}, "LINK_ISSUES": {"id": + "21", "key": "LINK_ISSUES", "name": "Link Issues", "type": "PROJECT", "description": + "Ability to link issues together and create linked issues. Only useful if + issue linking is turned on.", "havePermission": true}, "gtmhub-view-OKRs-prj-permissions": + {"id": "-1", "key": "gtmhub-view-OKRs-prj-permissions", "name": "View OKRs", + "type": "PROJECT", "description": "Ability to view Quantive Results OKRs (Objective + and key results) that are linked to a given issue", "havePermission": false}}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:18 GMT + Expires: + - Tue, 21 Jan 2025 14:32:18 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16539' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 872x54674x1 + x-asessionid: + - 4hh21m + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469938.8b177748 + x-rh-edge-request-id: + - 8b177748 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/OSIM-19918/transitions + response: + body: + string: '{"expand": "transitions", "transitions": [{"id": "11", "name": "New", + "description": "", "opsbarSequence": 10, "to": {"self": "https://example.com/rest/api/2/status/10016", + "description": "Initial creation status. Implies nothing yet and should be + very short lived; also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}}, {"id": + "71", "name": "Refinement", "description": "", "opsbarSequence": 20, "to": + {"self": "https://example.com/rest/api/2/status/15021", "description": "Work + is being scoped and discussed (To Do status category; see also Draft)", "iconUrl": + "https://example.com/images/icons/statuses/generic.png", "name": "Refinement", + "id": "15021", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}}, {"id": + "31", "name": "To Do", "description": "", "opsbarSequence": 30, "to": {"self": + "https://example.com/rest/api/2/status/10020", "description": "The team is + planning to do this work and it has a priority set", "iconUrl": "https://example.com/", + "name": "To Do", "id": "10020", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}}, {"id": + "41", "name": "In Progress", "description": "", "opsbarSequence": 40, "to": + {"self": "https://example.com/rest/api/2/status/10018", "description": "Work + has started", "iconUrl": "https://example.com/images/icons/status_generic.gif", + "name": "In Progress", "id": "10018", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/4", + "id": 4, "key": "indeterminate", "colorName": "inprogress", "name": "In Progress"}}}, + {"id": "51", "name": "Review", "description": "", "opsbarSequence": 50, "to": + {"self": "https://example.com/rest/api/2/status/12422", "description": "Work + is being reviewed. This can be for multiple purposes: QE validation, engineer + review, or some kind of peer review.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "Review", "id": "12422", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/4", + "id": 4, "key": "indeterminate", "colorName": "inprogress", "name": "In Progress"}}}, + {"id": "61", "name": "Closed", "description": "", "opsbarSequence": 60, "to": + {"self": "https://example.com/rest/api/2/status/6", "description": "The issue + is closed. See the resolution for context regarding why (for example Done, + Abandoned, Duplicate, etc)", "iconUrl": "https://example.com/images/icons/statuses/closed.png", + "name": "Closed", "id": "6", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/3", + "id": 3, "key": "done", "colorName": "success", "name": "Done"}}}]}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:19 GMT + Expires: + - Tue, 21 Jan 2025 14:32:19 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '2963' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 872x54675x1 + x-asessionid: + - 1czh4e8 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469939.8b17777c + x-rh-edge-request-id: + - 8b17777c + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"transition": {"id": "41"}, "fields": {}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue/OSIM-19918/transitions + response: + body: + string: '' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:32:20 GMT + Expires: + - Tue, 21 Jan 2025 14:32:20 GMT + Pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 872x54676x1 + x-asessionid: + - 8hv98e + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469939.8b1777e6 + x-rh-edge-request-id: + - 8b1777e6 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +version: 1 diff --git a/osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[True].yaml b/osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[True].yaml new file mode 100644 index 000000000..41ac5ab97 --- /dev/null +++ b/osidb/tests/cassettes/test_e2e/TestE2E.test_flaw_affect_tracker[True].yaml @@ -0,0 +1,2365 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/mypermissions?projectKey=OSIM + response: + body: + string: '{"permissions": {"ARCHIVE_ISSUES": {"id": "-1", "key": "ARCHIVE_ISSUES", + "name": "Archive Issues", "type": "PROJECT", "description": "Ability to archive + issues for a specific project.", "havePermission": true}, "VIEW_WORKFLOW_READONLY": + {"id": "45", "key": "VIEW_WORKFLOW_READONLY", "name": "View Read-Only Workflow", + "type": "PROJECT", "description": "admin.permissions.descriptions.VIEW_WORKFLOW_READONLY", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUES": {"id": "11", + "key": "CREATE_ISSUES", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true}, "VIEW_DEV_TOOLS": {"id": + "29", "key": "VIEW_DEV_TOOLS", "name": "View Development Tools", "type": "PROJECT", + "description": "Allows users in a software project to view development-related + information on the issue, such as commits, reviews and build information.", + "havePermission": true}, "BULK_CHANGE": {"id": "33", "key": "BULK_CHANGE", + "name": "Bulk Change", "type": "GLOBAL", "description": "Ability to modify + a collection of issues at once. For example, resolve multiple issues in one + step.", "havePermission": true}, "CREATE_ATTACHMENT": {"id": "19", "key": + "CREATE_ATTACHMENT", "name": "Create Attachments", "type": "PROJECT", "description": + "Users with this permission may create attachments.", "havePermission": true, + "deprecatedKey": true}, "DELETE_OWN_COMMENTS": {"id": "37", "key": "DELETE_OWN_COMMENTS", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true}, "WORK_ON_ISSUES": + {"id": "20", "key": "WORK_ON_ISSUES", "name": "Work On Issues", "type": "PROJECT", + "description": "Ability to log work done against an issue. Only useful if + Time Tracking is turned on.", "havePermission": true}, "PROJECT_ADMIN": {"id": + "23", "key": "PROJECT_ADMIN", "name": "Administer Projects", "type": "PROJECT", + "description": "Ability to administer a project in Jira.", "havePermission": + true, "deprecatedKey": true}, "COMMENT_EDIT_ALL": {"id": "34", "key": "COMMENT_EDIT_ALL", + "name": "Edit All Comments", "type": "PROJECT", "description": "Ability to + edit all comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ATTACHMENT_DELETE_OWN": {"id": "39", "key": "ATTACHMENT_DELETE_OWN", + "name": "Delete Own Attachments", "type": "PROJECT", "description": "Users + with this permission may delete own attachments.", "havePermission": true, + "deprecatedKey": true}, "WORKLOG_DELETE_OWN": {"id": "42", "key": "WORKLOG_DELETE_OWN", + "name": "Delete Own Worklogs", "type": "PROJECT", "description": "Ability + to delete own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "CLOSE_ISSUE": {"id": "18", "key": "CLOSE_ISSUE", "name": "Close Issues", + "type": "PROJECT", "description": "Ability to close issues. Often useful where + your developers resolve issues, and a QA department closes them.", "havePermission": + true, "deprecatedKey": true}, "MANAGE_WATCHER_LIST": {"id": "32", "key": "MANAGE_WATCHER_LIST", + "name": "Manage Watchers", "type": "PROJECT", "description": "Ability to manage + the watchers of an issue.", "havePermission": true, "deprecatedKey": true}, + "VIEW_VOTERS_AND_WATCHERS": {"id": "31", "key": "VIEW_VOTERS_AND_WATCHERS", + "name": "View Voters and Watchers", "type": "PROJECT", "description": "Ability + to view the voters and watchers of an issue.", "havePermission": true}, "ADD_COMMENTS": + {"id": "15", "key": "ADD_COMMENTS", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true}, "COMMENT_DELETE_ALL": + {"id": "36", "key": "COMMENT_DELETE_ALL", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUE": {"id": "11", + "key": "CREATE_ISSUE", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true, "deprecatedKey": true}, + "DELETE_OWN_ATTACHMENTS": {"id": "39", "key": "DELETE_OWN_ATTACHMENTS", "name": + "Delete Own Attachments", "type": "PROJECT", "description": "Users with this + permission may delete own attachments.", "havePermission": true}, "DELETE_ALL_ATTACHMENTS": + {"id": "38", "key": "DELETE_ALL_ATTACHMENTS", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true}, "ASSIGN_ISSUE": {"id": "13", "key": + "ASSIGN_ISSUE", "name": "Assign Issues", "type": "PROJECT", "description": + "Ability to assign issues to other people.", "havePermission": true, "deprecatedKey": + true}, "LINK_ISSUE": {"id": "21", "key": "LINK_ISSUE", "name": "Link Issues", + "type": "PROJECT", "description": "Ability to link issues together and create + linked issues. Only useful if issue linking is turned on.", "havePermission": + true, "deprecatedKey": true}, "EDIT_OWN_WORKLOGS": {"id": "40", "key": "EDIT_OWN_WORKLOGS", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true}, "CREATE_ATTACHMENTS": + {"id": "19", "key": "CREATE_ATTACHMENTS", "name": "Create Attachments", "type": + "PROJECT", "description": "Users with this permission may create attachments.", + "havePermission": true}, "EDIT_ALL_WORKLOGS": {"id": "41", "key": "EDIT_ALL_WORKLOGS", + "name": "Edit All Worklogs", "type": "PROJECT", "description": "Ability to + edit all worklogs made on issues.", "havePermission": true}, "SCHEDULE_ISSUE": + {"id": "28", "key": "SCHEDULE_ISSUE", "name": "Schedule Issues", "type": "PROJECT", + "description": "Ability to view or edit an issue''s due date.", "havePermission": + true, "deprecatedKey": true}, "CLOSE_ISSUES": {"id": "18", "key": "CLOSE_ISSUES", + "name": "Close Issues", "type": "PROJECT", "description": "Ability to close + issues. Often useful where your developers resolve issues, and a QA department + closes them.", "havePermission": true}, "SET_ISSUE_SECURITY": {"id": "26", + "key": "SET_ISSUE_SECURITY", "name": "Set Issue Security", "type": "PROJECT", + "description": "Ability to set the level of security on an issue so that only + people in that security level can see the issue.", "havePermission": true}, + "SCHEDULE_ISSUES": {"id": "28", "key": "SCHEDULE_ISSUES", "name": "Schedule + Issues", "type": "PROJECT", "description": "Ability to view or edit an issue''s + due date.", "havePermission": true}, "WORKLOG_DELETE_ALL": {"id": "43", "key": + "WORKLOG_DELETE_ALL", "name": "Delete All Worklogs", "type": "PROJECT", "description": + "Ability to delete all worklogs made on issues.", "havePermission": true, + "deprecatedKey": true}, "COMMENT_DELETE_OWN": {"id": "37", "key": "COMMENT_DELETE_OWN", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ADMINISTER_PROJECTS": {"id": "23", "key": "ADMINISTER_PROJECTS", "name": + "Administer Projects", "type": "PROJECT", "description": "Ability to administer + a project in Jira.", "havePermission": true}, "DELETE_ALL_COMMENTS": {"id": + "36", "key": "DELETE_ALL_COMMENTS", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true}, "RESOLVE_ISSUES": {"id": "14", "key": "RESOLVE_ISSUES", + "name": "Resolve Issues", "type": "PROJECT", "description": "Ability to resolve + and reopen issues. This includes the ability to set a fix version.", "havePermission": + true}, "VIEW_READONLY_WORKFLOW": {"id": "45", "key": "VIEW_READONLY_WORKFLOW", + "name": "View Read-Only Workflow", "type": "PROJECT", "description": "Users + with this permission may view a read-only version of a workflow.", "havePermission": + true}, "ADMINISTER": {"id": "0", "key": "ADMINISTER", "name": "Jira Administrators", + "type": "GLOBAL", "description": "Ability to perform most administration functions + (excluding Import & Export, SMTP Configuration, etc.).", "havePermission": + false}, "GLOBAL_BROWSE_ARCHIVE": {"id": "-1", "key": "GLOBAL_BROWSE_ARCHIVE", + "name": "Browse Archive", "type": "GLOBAL", "description": "Ability to browse + all archived issues.", "havePermission": false}, "MOVE_ISSUES": {"id": "25", + "key": "MOVE_ISSUES", "name": "Move Issues", "type": "PROJECT", "description": + "Ability to move issues between projects or between workflows of the same + project (if applicable). Note the user can only move issues to a project he + or she has the create permission for.", "havePermission": true}, "TRANSITION_ISSUES": + {"id": "46", "key": "TRANSITION_ISSUES", "name": "Transition Issues", "type": + "PROJECT", "description": "Ability to transition issues.", "havePermission": + true}, "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION": {"id": "-1", "key": "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION", + "name": "Edit Sprints", "type": "PROJECT", "description": "Ability to edit + sprint name and goal.", "havePermission": false}, "SYSTEM_ADMIN": {"id": "44", + "key": "SYSTEM_ADMIN", "name": "Jira System Administrators", "type": "GLOBAL", + "description": "Ability to perform all administration functions. There must + be at least one group with this permission.", "havePermission": false}, "DELETE_OWN_WORKLOGS": + {"id": "42", "key": "DELETE_OWN_WORKLOGS", "name": "Delete Own Worklogs", + "type": "PROJECT", "description": "Ability to delete own worklogs made on + issues.", "havePermission": true}, "BROWSE": {"id": "10", "key": "BROWSE", + "name": "Browse Projects", "type": "PROJECT", "description": "Ability to browse + projects and the issues within them.", "havePermission": true, "deprecatedKey": + true}, "EDIT_ISSUE": {"id": "12", "key": "EDIT_ISSUE", "name": "Edit Issues", + "type": "PROJECT", "description": "Ability to edit issues.", "havePermission": + true, "deprecatedKey": true}, "MODIFY_REPORTER": {"id": "30", "key": "MODIFY_REPORTER", + "name": "Modify Reporter", "type": "PROJECT", "description": "Ability to modify + the reporter when creating or editing an issue.", "havePermission": true}, + "EDIT_ISSUES": {"id": "12", "key": "EDIT_ISSUES", "name": "Edit Issues", "type": + "PROJECT", "description": "Ability to edit issues.", "havePermission": true}, + "MANAGE_WATCHERS": {"id": "32", "key": "MANAGE_WATCHERS", "name": "Manage + Watchers", "type": "PROJECT", "description": "Ability to manage the watchers + of an issue.", "havePermission": true}, "EDIT_OWN_COMMENTS": {"id": "35", + "key": "EDIT_OWN_COMMENTS", "name": "Edit Own Comments", "type": "PROJECT", + "description": "Ability to edit own comments made on issues.", "havePermission": + true}, "ASSIGN_ISSUES": {"id": "13", "key": "ASSIGN_ISSUES", "name": "Assign + Issues", "type": "PROJECT", "description": "Ability to assign issues to other + people.", "havePermission": true}, "BROWSE_PROJECTS": {"id": "10", "key": + "BROWSE_PROJECTS", "name": "Browse Projects", "type": "PROJECT", "description": + "Ability to browse projects and the issues within them.", "havePermission": + true}, "gtmhub-view-OKRs-permissions": {"id": "-1", "key": "gtmhub-view-OKRs-permissions", + "name": "View OKRs", "type": "GLOBAL", "description": "Ability to view Quantive + Results OKRs (Objective and key results) that are linked to a given issue", + "havePermission": false}, "RESTORE_ISSUES": {"id": "-1", "key": "RESTORE_ISSUES", + "name": "Restore Issues", "type": "PROJECT", "description": "Ability to restore + issues for a specific project.", "havePermission": true}, "BROWSE_ARCHIVE": + {"id": "-1", "key": "BROWSE_ARCHIVE", "name": "Browse Project Archive", "type": + "PROJECT", "description": "Ability to browse archived issues from a specific + project.", "havePermission": true}, "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL": {"id": + "-1", "key": "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL", "name": "Impersonate users + in A4J global scope", "type": "GLOBAL", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": true}, + "VIEW_VERSION_CONTROL": {"id": "29", "key": "VIEW_VERSION_CONTROL", "name": + "View Development Tools", "type": "PROJECT", "description": "Allows users + to view development-related information on the view issue screen, like commits, + reviews and build information.", "havePermission": true, "deprecatedKey": + true}, "START_STOP_SPRINTS_PERMISSION": {"id": "-1", "key": "START_STOP_SPRINTS_PERMISSION", + "name": "Start/Complete Sprints", "type": "PROJECT", "description": "Ability + to start and complete sprints.", "havePermission": true}, "WORK_ISSUE": {"id": + "20", "key": "WORK_ISSUE", "name": "Work On Issues", "type": "PROJECT", "description": + "Ability to log work done against an issue. Only useful if Time Tracking is + turned on.", "havePermission": true, "deprecatedKey": true}, "COMMENT_ISSUE": + {"id": "15", "key": "COMMENT_ISSUE", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true, "deprecatedKey": + true}, "WORKLOG_EDIT_ALL": {"id": "41", "key": "WORKLOG_EDIT_ALL", "name": + "Edit All Worklogs", "type": "PROJECT", "description": "Ability to edit all + worklogs made on issues.", "havePermission": true, "deprecatedKey": true}, + "EDIT_ALL_COMMENTS": {"id": "34", "key": "EDIT_ALL_COMMENTS", "name": "Edit + All Comments", "type": "PROJECT", "description": "Ability to edit all comments + made on issues.", "havePermission": true}, "DELETE_ISSUE": {"id": "16", "key": + "DELETE_ISSUE", "name": "Delete Issues", "type": "PROJECT", "description": + "Ability to delete issues.", "havePermission": false, "deprecatedKey": true}, + "MANAGE_SPRINTS_PERMISSION": {"id": "-1", "key": "MANAGE_SPRINTS_PERMISSION", + "name": "Manage Sprints", "type": "PROJECT", "description": "Ability to manage + sprints.", "havePermission": true}, "USER_PICKER": {"id": "27", "key": "USER_PICKER", + "name": "Browse Users", "type": "GLOBAL", "description": "Ability to select + a user or group from a popup window as well as the ability to use the ''share'' + issues feature. Users with this permission will also be able to see names + of all users and groups in the system.", "havePermission": true}, "CREATE_SHARED_OBJECTS": + {"id": "22", "key": "CREATE_SHARED_OBJECTS", "name": "Create Shared Objects", + "type": "GLOBAL", "description": "Ability to share dashboards and filters + with other users, groups and roles.", "havePermission": true}, "ATTACHMENT_DELETE_ALL": + {"id": "38", "key": "ATTACHMENT_DELETE_ALL", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true, "deprecatedKey": true}, "DELETE_ISSUES": + {"id": "16", "key": "DELETE_ISSUES", "name": "Delete Issues", "type": "PROJECT", + "description": "Ability to delete issues.", "havePermission": false}, "MANAGE_GROUP_FILTER_SUBSCRIPTIONS": + {"id": "24", "key": "MANAGE_GROUP_FILTER_SUBSCRIPTIONS", "name": "Manage Group + Filter Subscriptions", "type": "GLOBAL", "description": "Ability to manage + (create and delete) group filter subscriptions.", "havePermission": true}, + "RESOLVE_ISSUE": {"id": "14", "key": "RESOLVE_ISSUE", "name": "Resolve Issues", + "type": "PROJECT", "description": "Ability to resolve and reopen issues. This + includes the ability to set a fix version.", "havePermission": true, "deprecatedKey": + true}, "SERVICEDESK_AGENT": {"id": "-1", "key": "SERVICEDESK_AGENT", "name": + "Service Desk Agent", "type": "PROJECT", "description": "Allows users to interact + with customers and access Jira Service Management features of a project.", + "havePermission": false}, "A4J_PERM_IMPERSONATE_ACTOR_PROJECT": {"id": "-1", + "key": "A4J_PERM_IMPERSONATE_ACTOR_PROJECT", "name": "Impersonate users in + A4J project scope", "type": "PROJECT", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": false}, + "ASSIGNABLE_USER": {"id": "17", "key": "ASSIGNABLE_USER", "name": "Assignable + User", "type": "PROJECT", "description": "Users with this permission may be + assigned to issues.", "havePermission": true}, "TRANSITION_ISSUE": {"id": + "46", "key": "TRANSITION_ISSUE", "name": "Transition Issues", "type": "PROJECT", + "description": "Ability to transition issues.", "havePermission": true, "deprecatedKey": + true}, "COMMENT_EDIT_OWN": {"id": "35", "key": "COMMENT_EDIT_OWN", "name": + "Edit Own Comments", "type": "PROJECT", "description": "Ability to edit own + comments made on issues.", "havePermission": true, "deprecatedKey": true}, + "MOVE_ISSUE": {"id": "25", "key": "MOVE_ISSUE", "name": "Move Issues", "type": + "PROJECT", "description": "Ability to move issues between projects or between + workflows of the same project (if applicable). Note the user can only move + issues to a project he or she has the create permission for.", "havePermission": + true, "deprecatedKey": true}, "WORKLOG_EDIT_OWN": {"id": "40", "key": "WORKLOG_EDIT_OWN", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "DELETE_ALL_WORKLOGS": {"id": "43", "key": "DELETE_ALL_WORKLOGS", "name": + "Delete All Worklogs", "type": "PROJECT", "description": "Ability to delete + all worklogs made on issues.", "havePermission": true}, "LINK_ISSUES": {"id": + "21", "key": "LINK_ISSUES", "name": "Link Issues", "type": "PROJECT", "description": + "Ability to link issues together and create linked issues. Only useful if + issue linking is turned on.", "havePermission": true}, "gtmhub-view-OKRs-prj-permissions": + {"id": "-1", "key": "gtmhub-view-OKRs-prj-permissions", "name": "View OKRs", + "type": "PROJECT", "description": "Ability to view Quantive Results OKRs (Objective + and key results) that are linked to a given issue", "havePermission": false}}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:29 GMT + Expires: + - Tue, 21 Jan 2025 14:31:29 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16539' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30007x1 + x-asessionid: + - k2q6ip + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469889.8b16831a + x-rh-edge-request-id: + - 8b16831a + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"fields": {"issuetype": {"id": "17"}, "project": {"id": "12337520"}, "summary": + "test validations", "description": "this is a simple test", "labels": ["flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", + "impact:CRITICAL"], "priority": {"name": "Critical"}, "assignee": {"name": ""}}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '281' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue + response: + body: + string: '{"id": "16348557", "key": "OSIM-19917", "self": "https://example.com/rest/api/2/issue/16348557"}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:31 GMT + Expires: + - Tue, 21 Jan 2025 14:31:31 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '103' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30008x1 + x-asessionid: + - 18z6bbh + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469889.8b16842e + x-rh-edge-request-id: + - 8b16842e + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/OSIM-19917 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348557", "self": "https://example.com/rest/api/2/issue/16348557", + "key": "OSIM-19917", "fields": {"customfield_12324540": "0.0", "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@6d64726d[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@63851867[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@99de97c[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@42908e08[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@5d9610ce[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@3a32bc67[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@5c027454[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@1a245112[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@77d932f8[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@582769e0[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@17c81664[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@2fdc794e[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12326040": null, "customfield_12315950": null, "customfield_12310940": + null, "lastViewed": null, "customfield_12313140": null, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", + "impact:CRITICAL"], "aggregatetimeoriginalestimate": null, "timeestimate": + null, "versions": [], "issuelinks": [], "assignee": null, "customfield_12313942": + null, "customfield_12313941": null, "status": {"self": "https://example.com/rest/api/2/status/10016", + "description": "Initial creation status. Implies nothing yet and should be + very short lived; also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [], "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317313": null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "subtasks": [], "customfield_12321140": null, "customfield_12320850": null, + "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12313240": null, "customfield_12319742": null, "progress": + {"progress": 0, "total": 0}, "votes": {"self": "https://example.com/rest/api/2/issue/OSIM-19917/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12325158": + null, "issuetype": {"self": "https://example.com/rest/api/2/issuetype/17", + "id": "17", "description": "Created by Jira Software - do not edit or delete. + Issue type for a user story.", "iconUrl": "https://example.com/secure/viewavatar?size=xsmall&avatarId=13275&avatarType=issuetype", + "name": "Story", "subtask": false, "avatarId": 13275}, "customfield_12325157": + null, "customfield_12325159": null, "customfield_12318341": null, "customfield_12325154": + null, "customfield_12325153": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12337520", "id": "12337520", + "key": "OSIM", "name": "Open Security Issue Manager", "projectTypeKey": "software", + "avatarUrls": {"48x48": "https://example.com/secure/projectavatar?pid=12337520&avatarId=12560", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12337520&avatarId=12560", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12337520&avatarId=12560", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12337520&avatarId=12560"}}, + "customfield_12320944": null, "aggregatetimespent": null, "customfield_12310220": + null, "resolutiondate": null, "customfield_12325150": null, "workratio": -1, + "customfield_12325152": null, "customfield_12316840": null, "customfield_12317379": + null, "customfield_12325151": null, "customfield_12316841": null, "customfield_12319040": + null, "customfield_12325047": null, "watches": {"self": "https://example.com/rest/api/2/issue/OSIM-19917/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12325044": null, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:29.701+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + {"self": "https://example.com/rest/api/2/customFieldOption/27705", "value": + "False", "id": "27705", "disabled": false}, "customfield_12325040": [], "customfield_12325160": + null, "customfield_12325042": null, "customfield_12325041": null, "updated": + "2025-01-21T14:31:29.701+0000", "customfield_12316142": null, "timeoriginalestimate": + null, "description": "this is a simple test", "timetracking": {}, "attachment": + [], "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12316544": "None", + "customfield_12310840": "9223372036854775807", "summary": "test validations", + "customfield_12323640": null, "customfield_12325147": null, "customfield_12325146": + null, "customfield_12323642": null, "customfield_12325149": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12325142": + null, "customfield_12325145": null, "customfield_12325144": null, "customfield_12323644": + null, "customfield_12323643": null, "customfield_12323646": null, "customfield_12323645": + null, "environment": null, "customfield_12315740": null, "customfield_12313441": + "", "customfield_12313440": "0.0", "duedate": null, "customfield_12311140": + null, "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": + 0}, "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27ptr:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:31 GMT + Expires: + - Tue, 21 Jan 2025 14:31:31 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '9645' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30010x1 + x-asessionid: + - 158big3 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469891.8b168f40 + x-rh-edge-request-id: + - 8b168f40 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-bugzilla/3.3.0 + method: GET + uri: https://example.com/rest/version + response: + body: + string: '{"version": "5.0.4.rh103"}' + headers: + Access-Control-Allow-Headers: + - origin, content-type, accept, x-requested-with + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - private, must-revalidate + Connection: + - keep-alive + Content-Length: + - '25' + Content-Type: + - application/json; charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:32 GMT + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + X-content-type-options: + - nosniff + X-xss-protection: + - 1; mode=block + x-rh-edge-cache-status: + - Miss from child, Miss from parent + x-rh-edge-reference-id: + - 0.15deda17.1737469892.8b1692bb + x-rh-edge-request-id: + - 8b1692bb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-bugzilla/3.3.0 + method: GET + uri: https://example.com/rest/user?ids=1 + response: + body: + string: '{"users": [{"id": 1, "real_name": "Need Real Name", "email": "aander07@packetmaster.com", + "name": "aander07@packetmaster.com", "can_login": true}]}' + headers: + Access-Control-Allow-Headers: + - origin, content-type, accept, x-requested-with + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - private, must-revalidate + Connection: + - keep-alive + Content-Length: + - '137' + Content-Type: + - application/json; charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:32 GMT + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + X-content-type-options: + - nosniff + X-xss-protection: + - 1; mode=block + x-rh-edge-cache-status: + - Miss from child, Miss from parent + x-rh-edge-reference-id: + - 0.15deda17.1737469892.8b1692fc + x-rh-edge-request-id: + - 8b1692fc + status: + code: 200 + message: OK +- request: + body: '{"product": "Security Response", "op_sys": "Linux", "platform": "All", + "version": "unspecified", "component": "vulnerability-draft", "cf_release_notes": + "", "severity": "urgent", "priority": "urgent", "summary": "EMBARGOED curl: + test validations", "description": "this is a simple test", "comment_is_private": + false, "keywords": ["Security"], "flags": [], "groups": ["qe_staff", "security"], + "deadline": "2024-08-07", "cc": []}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '427' + Content-Type: + - application/json + User-Agent: + - python-bugzilla/3.3.0 + method: POST + uri: https://example.com/rest/bug + response: + body: + string: '{"id": 2312096}' + headers: + Access-Control-Allow-Headers: + - origin, content-type, accept, x-requested-with + Access-Control-Allow-Origin: + - '*' + Cache-Control: + - private, must-revalidate + Connection: + - keep-alive + Content-Length: + - '14' + Content-Type: + - application/json; charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:34 GMT + Strict-Transport-Security: + - max-age=63072000; includeSubDomains + X-content-type-options: + - nosniff + X-xss-protection: + - 1; mode=block + x-rh-edge-cache-status: + - Miss from child, Miss from parent + x-rh-edge-reference-id: + - 0.15deda17.1737469892.8b16943a + x-rh-edge-request-id: + - 8b16943a + status: + code: 200 + message: OK +- request: + body: '{"fields": {"issuetype": {"name": "Bug"}, "project": {"key": "RHEL"}, "components": + [{"name": "kernel / Other"}], "priority": {"name": "Critical"}, "description": + "Security Tracking Issue\n\nDo not make this issue public.\n\nNOTE THIS ISSUE + IS CURRENTLY EMBARGOED, DO NOT MAKE PUBLIC COMMITS OR COMMENTS ABOUT THIS ISSUE.\n\nWARNING: + NOTICE THAT CHANGING THE SECURITY LEVEL FROM \"SECURITY ISSUE\" TO \"RED HAT + INTERNAL\" MAY BREAK THE EMBARGO.\n\nFlaw:\n-----\n\ntest validations\nhttps://bugzilla.stage.redhat.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "labels": ["Security", + "SecurityTracking", "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", + "pscomponent:kernel"], "summary": "EMBARGOED kernel: test validations [rhel-8]", + "security": {"name": "Embargoed Security Issue"}}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '928' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue + response: + body: + string: '{"id": "16348663", "key": "RHEL-59744", "self": "https://example.com/rest/api/2/issue/16348663"}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:37 GMT + Expires: + - Tue, 21 Jan 2025 14:31:37 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '103' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-1 + x-arequestid: + - 871x211127x1 + x-asessionid: + - 1lqgyoa + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469895.9eb9669a + x-rh-edge-request-id: + - 9eb9669a + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59744 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348663", "self": "https://example.com/rest/api/2/issue/16348663", + "key": "RHEL-59744", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@53a1950f[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@29383af7[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@65fcb74d[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@d7bd687[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@77454790[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@1fa04086[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@1f66dae0[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@4c7ae865[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@11de5fbd[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@c679970[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@257fe3c6[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@3edd1ecc[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + null, "customfield_12326041": null, "customfield_12315950": null, "customfield_12310940": + null, "customfield_12321440": null, "lastViewed": null, "customfield_12321040": + null, "customfield_12317340": null, "customfield_12323341": null, "customfield_12317341": + null, "customfield_12319640": null, "customfield_12317342": null, "customfield_12313140": + null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59744/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59744/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:35.459+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:31:37.340+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": null, "customfield_12322141": null, "customfield_12322142": + null, "timeoriginalestimate": null, "description": "Security Tracking Issue\n\nDo + not make this issue public.\n\nNOTE THIS ISSUE IS CURRENTLY EMBARGOED, DO + NOT MAKE PUBLIC COMMITS OR COMMENTS ABOUT THIS ISSUE.\n\nWARNING: NOTICE THAT + CHANGING THE SECURITY LEVEL FROM \"SECURITY ISSUE\" TO \"RED HAT INTERNAL\" + MAY BREAK THE EMBARGO.\n\nFlaw:\n-----\n\ntest validations\nhttps://example.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11690", + "id": "11690", "description": "Restricts access to Product Security and the + people involved in resolving the issue. Only Product Security can remove this + level once applied", "name": "Embargoed Security Issue"}, "attachment": [], + "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "EMBARGOED kernel: test validations [rhel-8]", "customfield_12323640": + null, "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348663/comment/25582350", + "id": "25582350", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:31:37.340+0000", + "updated": "2025-01-21T14:31:37.340+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27ptz:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:37 GMT + Expires: + - Tue, 21 Jan 2025 14:31:37 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16733' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-1 + x-arequestid: + - 871x211128x1 + x-asessionid: + - 11193ok + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469897.9eb986a2 + x-rh-edge-request-id: + - 9eb986a2 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59744 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348663", "self": "https://example.com/rest/api/2/issue/16348663", + "key": "RHEL-59744", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@738f8d5a[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@64cb53d7[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@6d8d45f4[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@5366f679[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@5fc01c61[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@2f764af[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@55233e0[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@6163c80d[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@3e1ff354[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@7f43a24[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@132dc409[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@6c7145c1[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + null, "customfield_12326041": null, "customfield_12315950": null, "customfield_12310940": + null, "customfield_12321440": null, "lastViewed": null, "customfield_12321040": + null, "customfield_12317340": null, "customfield_12323341": null, "customfield_12317341": + null, "customfield_12319640": null, "customfield_12317342": null, "customfield_12313140": + null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59744/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59744/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:35.459+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:31:37.340+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": null, "customfield_12322141": null, "customfield_12322142": + null, "timeoriginalestimate": null, "description": "Security Tracking Issue\n\nDo + not make this issue public.\n\nNOTE THIS ISSUE IS CURRENTLY EMBARGOED, DO + NOT MAKE PUBLIC COMMITS OR COMMENTS ABOUT THIS ISSUE.\n\nWARNING: NOTICE THAT + CHANGING THE SECURITY LEVEL FROM \"SECURITY ISSUE\" TO \"RED HAT INTERNAL\" + MAY BREAK THE EMBARGO.\n\nFlaw:\n-----\n\ntest validations\nhttps://example.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11690", + "id": "11690", "description": "Restricts access to Product Security and the + people involved in resolving the issue. Only Product Security can remove this + level once applied", "name": "Embargoed Security Issue"}, "attachment": [], + "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "EMBARGOED kernel: test validations [rhel-8]", "customfield_12323640": + null, "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348663/comment/25582350", + "id": "25582350", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:31:37.340+0000", + "updated": "2025-01-21T14:31:37.340+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27ptz:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:38 GMT + Expires: + - Tue, 21 Jan 2025 14:31:38 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16732' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-1 + x-arequestid: + - 871x211129x1 + x-asessionid: + - 2akr5t + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469898.8b16b807 + x-rh-edge-request-id: + - 8b16b807 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"fields": {"issuetype": {"name": "Bug"}, "project": {"key": "RHEL"}, "components": + [{"name": "kernel / Other"}], "priority": {"name": "Critical"}, "description": + "Security Tracking Issue\n\nDo not make this issue public.\n\nNOTE THIS ISSUE + IS CURRENTLY EMBARGOED, DO NOT MAKE PUBLIC COMMITS OR COMMENTS ABOUT THIS ISSUE.\n\nWARNING: + NOTICE THAT CHANGING THE SECURITY LEVEL FROM \"SECURITY ISSUE\" TO \"RED HAT + INTERNAL\" MAY BREAK THE EMBARGO.\n\nFlaw:\n-----\n\ntest validations\nhttps://bugzilla.stage.redhat.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "labels": ["Security", + "SecurityTracking", "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", + "pscomponent:kernel"], "summary": "EMBARGOED kernel: test validations [rhel-8.10.z]", + "security": {"name": "Embargoed Security Issue"}}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '933' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue + response: + body: + string: '{"id": "16348462", "key": "RHEL-59745", "self": "https://example.com/rest/api/2/issue/16348462"}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + - Transfer-Encoding + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:41 GMT + Expires: + - Tue, 21 Jan 2025 14:31:41 GMT + Pragma: + - no-cache + Transfer-Encoding: + - chunked + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '103' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 871x54651x1 + x-asessionid: + - 152lx55 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469898.9eb998fb + x-rh-edge-request-id: + - 9eb998fb + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59745 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348462", "self": "https://example.com/rest/api/2/issue/16348462", + "key": "RHEL-59745", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@37bb59a5[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@370a6ea9[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@64ccc8d7[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@d79dc1[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@1d8ae6d7[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@2a1bd5d9[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@28932a3d[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@1416837b[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@5ee07370[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@2aa1c068[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@1bd2c5c3[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@3bff8099[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + null, "customfield_12326041": null, "customfield_12315950": null, "customfield_12310940": + null, "customfield_12321440": null, "lastViewed": null, "customfield_12321040": + null, "customfield_12317340": null, "customfield_12323341": null, "customfield_12317341": + null, "customfield_12319640": null, "customfield_12317342": null, "customfield_12313140": + null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59745/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59745/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:39.281+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:31:41.564+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": null, "customfield_12322141": null, "customfield_12322142": + null, "timeoriginalestimate": null, "description": "Security Tracking Issue\n\nDo + not make this issue public.\n\nNOTE THIS ISSUE IS CURRENTLY EMBARGOED, DO + NOT MAKE PUBLIC COMMITS OR COMMENTS ABOUT THIS ISSUE.\n\nWARNING: NOTICE THAT + CHANGING THE SECURITY LEVEL FROM \"SECURITY ISSUE\" TO \"RED HAT INTERNAL\" + MAY BREAK THE EMBARGO.\n\nFlaw:\n-----\n\ntest validations\nhttps://example.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11690", + "id": "11690", "description": "Restricts access to Product Security and the + people involved in resolving the issue. Only Product Security can remove this + level once applied", "name": "Embargoed Security Issue"}, "attachment": [], + "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "EMBARGOED kernel: test validations [rhel-8.10.z]", "customfield_12323640": + null, "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348462/comment/25582624", + "id": "25582624", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:31:41.564+0000", + "updated": "2025-01-21T14:31:41.564+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27pu7:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:41 GMT + Expires: + - Tue, 21 Jan 2025 14:31:41 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16738' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 871x54652x1 + x-asessionid: + - 16fscl0 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469901.9eb9bb76 + x-rh-edge-request-id: + - 9eb9bb76 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/RHEL-59745 + response: + body: + string: '{"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations", + "id": "16348462", "self": "https://example.com/rest/api/2/issue/16348462", + "key": "RHEL-59745", "fields": {"customfield_12322243": null, "customfield_12318141": + null, "customfield_12322244": null, "customfield_12322640": null, "customfield_12316240": + null, "customfield_12324540": "0.0", "customfield_12322241": null, "fixVersions": + [], "resolution": null, "customfield_12314740": "{summaryBean=com.atlassian.jira.plugin.devstatus.rest.SummaryBean@32f145eb[summary={pullrequest=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@4c60d4c4[overall=PullRequestOverallBean{stateCount=0, + state=''OPEN'', details=PullRequestOverallDetails{openCount=0, mergedCount=0, + declinedCount=0}},byInstanceType={}], build=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@4f70c0b0[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean@57ceb6e[failedBuildCount=0,successfulBuildCount=0,unknownBuildCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + review=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@2efb9d4c[overall=com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean@69c75e9a[stateCount=0,state=,dueDate=,overDue=false,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + deployment-environment=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@20fb6652[overall=com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean@423edeb8[topEnvironments=[],showProjects=false,successfulCount=0,count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + repository=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@30dd2a4e[overall=com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean@63bd9141[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}], + branch=com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean@188fa292[overall=com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean@2c706425[count=0,lastUpdated=,lastUpdatedTimestamp=],byInstanceType={}]},errors=[],configErrors=[]], + devSummaryJson={\"cachedValue\":{\"errors\":[],\"configErrors\":[],\"summary\":{\"pullrequest\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":\"OPEN\",\"details\":{\"openCount\":0,\"mergedCount\":0,\"declinedCount\":0,\"total\":0},\"open\":true},\"byInstanceType\":{}},\"build\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"failedBuildCount\":0,\"successfulBuildCount\":0,\"unknownBuildCount\":0},\"byInstanceType\":{}},\"review\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"stateCount\":0,\"state\":null,\"dueDate\":null,\"overDue\":false,\"completed\":false},\"byInstanceType\":{}},\"deployment-environment\":{\"overall\":{\"count\":0,\"lastUpdated\":null,\"topEnvironments\":[],\"showProjects\":false,\"successfulCount\":0},\"byInstanceType\":{}},\"repository\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}},\"branch\":{\"overall\":{\"count\":0,\"lastUpdated\":null},\"byInstanceType\":{}}}},\"isStale\":false}}", + "customfield_12317334": null, "customfield_12326040": null, "customfield_12318148": + null, "customfield_12326041": null, "customfield_12315950": null, "customfield_12310940": + null, "customfield_12321440": null, "lastViewed": null, "customfield_12321040": + null, "customfield_12317340": null, "customfield_12323341": null, "customfield_12317341": + null, "customfield_12319640": null, "customfield_12317342": null, "customfield_12313140": + null, "customfield_12315041": {"self": "https://example.com/rest/api/2/customFieldOption/12953", + "value": "Not Started", "id": "12953", "disabled": false}, "priority": {"self": + "https://example.com/rest/api/2/priority/2", "iconUrl": "https://example.com/images/icons/priorities/critical.svg", + "name": "Critical", "id": "2"}, "labels": ["Security", "SecurityTracking", + "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", "pscomponent:kernel"], + "customfield_12311641": null, "customfield_12311240": null, "aggregatetimeoriginalestimate": + null, "timeestimate": null, "versions": [], "customfield_12319247": null, + "customfield_12317343": null, "issuelinks": [], "customfield_12317345": null, + "customfield_12325240": null, "assignee": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12317347": + null, "customfield_12317348": null, "customfield_12313942": null, "customfield_12313941": + null, "status": {"self": "https://example.com/rest/api/2/status/10016", "description": + "Initial creation status. Implies nothing yet and should be very short lived; + also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}, "components": + [{"self": "https://example.com/rest/api/2/component/12370079", "id": "12370079", + "name": "kernel / Other", "description": " Other"}], "customfield_12320841": + null, "customfield_12314040": null, "customfield_12320844": null, "archiveddate": + null, "customfield_12320842": null, "customfield_12310243": null, "aggregatetimeestimate": + null, "customfield_12317278": null, "customfield_12317313": null, "customfield_12316348": + null, "customfield_12321540": null, "customfield_12323840": null, "customfield_12325740": + null, "creator": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "customfield_12321541": null, "subtasks": [], "customfield_12321140": null, + "customfield_12319740": null, "customfield_12323440": null, "customfield_12320851": + null, "customfield_12315141": {"self": "https://example.com/rest/api/2/user?username=kernel-mgr", + "name": "kernel-mgr", "key": "kernel-mgr", "emailAddress": "kernel-mgr@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=48", + "24x24": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=24", + "16x16": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=16", + "32x32": "https://example.com/avatar/c8dff0def69aadbb46f9e19222f77075?d=mm&s=32"}, + "displayName": "kernel-mgr", "active": true, "timeZone": "UTC"}, "customfield_12320850": + null, "reporter": {"self": "https://example.com/rest/api/2/user?username=concosta%40redhat.com", + "name": "concosta@redhat.com", "key": "JIRAUSER196381", "emailAddress": "concosta+stage@redhat.com", + "avatarUrls": {"48x48": "https://example.com/secure/useravatar?ownerId=JIRAUSER196381&avatarId=41326", + "24x24": "https://example.com/secure/useravatar?size=small&ownerId=JIRAUSER196381&avatarId=41326", + "16x16": "https://example.com/secure/useravatar?size=xsmall&ownerId=JIRAUSER196381&avatarId=41326", + "32x32": "https://example.com/secure/useravatar?size=medium&ownerId=JIRAUSER196381&avatarId=41326"}, + "displayName": "Conrado Costa", "active": true, "timeZone": "America/New_York"}, + "aggregateprogress": {"progress": 0, "total": 0}, "customfield_12315542": + null, "customfield_12315948": {"self": "https://example.com/rest/api/2/user?username=kernel-qe", + "name": "kernel-qe", "key": "JIRAUSER208396", "emailAddress": "kernel-qe@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=48", + "24x24": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=24", + "16x16": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=16", + "32x32": "https://example.com/avatar/f457bbf73384db579496c13768c1a7ee?d=mm&s=32"}, + "displayName": "Kernel QE", "active": true, "timeZone": "UTC"}, "customfield_12313240": + null, "customfield_12319742": null, "progress": {"progress": 0, "total": 0}, + "customfield_12323040": null, "votes": {"self": "https://example.com/rest/api/2/issue/RHEL-59745/votes", + "votes": 0, "hasVoted": false}, "customfield_12319743": null, "worklog": {"startAt": + 0, "maxResults": 20, "total": 0, "worklogs": []}, "archivedby": null, "customfield_12315940": + null, "customfield_12317843": null, "customfield_12325158": null, "issuetype": + {"self": "https://example.com/rest/api/2/issuetype/1", "id": "1", "description": + "A problem that impairs or prevents the functions of the product.", "iconUrl": + "https://example.com/secure/viewavatar?size=xsmall&avatarId=13263&avatarType=issuetype", + "name": "Bug", "subtask": false, "avatarId": 13263}, "customfield_12325157": + null, "customfield_12317370": null, "customfield_12325159": null, "customfield_12317372": + null, "customfield_12318341": null, "customfield_12325154": null, "customfield_12325153": + null, "customfield_12317374": null, "customfield_12325156": null, "timespent": + null, "customfield_12325155": null, "customfield_12320940": null, "project": + {"self": "https://example.com/rest/api/2/project/12332745", "id": "12332745", + "key": "RHEL", "name": "RHEL", "projectTypeKey": "software", "avatarUrls": + {"48x48": "https://example.com/secure/projectavatar?pid=12332745&avatarId=17271", + "24x24": "https://example.com/secure/projectavatar?size=small&pid=12332745&avatarId=17271", + "16x16": "https://example.com/secure/projectavatar?size=xsmall&pid=12332745&avatarId=17271", + "32x32": "https://example.com/secure/projectavatar?size=medium&pid=12332745&avatarId=17271"}, + "projectCategory": {"self": "https://example.com/rest/api/2/projectCategory/10630", + "id": "10630", "description": "These are projects which will be migrated to + Red hat Jira (issues.redhat.com)", "name": "Product Development-RHEL"}}, "customfield_12320944": + null, "aggregatetimespent": null, "customfield_12310220": null, "customfield_12310183": + null, "resolutiondate": null, "customfield_12325150": null, "customfield_12318740": + null, "workratio": -1, "customfield_12325152": null, "customfield_12316840": + null, "customfield_12317379": null, "customfield_12325151": null, "customfield_12316841": + null, "customfield_12317259": null, "customfield_12319040": null, "customfield_12325047": + null, "watches": {"self": "https://example.com/rest/api/2/issue/RHEL-59745/watchers", + "watchCount": 1, "isWatching": true}, "customfield_12324753": null, "customfield_12325044": + null, "customfield_12319286": {"self": "https://example.com/rest/api/2/customFieldOption/30765", + "value": "Unspecified", "id": "30765", "disabled": false}, "customfield_12325043": + null, "customfield_12325046": null, "created": "2025-01-21T14:31:39.281+0000", + "customfield_12321240": null, "customfield_12325045": null, "customfield_12323940": + null, "customfield_12320948": {"self": "https://example.com/rest/api/2/customFieldOption/27850", + "value": "Needs Review", "id": "27850", "disabled": false}, "customfield_12320947": + [{"self": "https://example.com/rest/api/2/customFieldOption/27714", "value": + "Unclassified", "id": "27714", "disabled": false}], "customfield_12320946": + null, "customfield_12325040": [], "customfield_12325160": null, "customfield_12325042": + null, "customfield_12325041": null, "updated": "2025-01-21T14:31:41.564+0000", + "customfield_12311840": null, "customfield_12322143": null, "customfield_12322140": + null, "customfield_12316142": null, "customfield_12322141": null, "customfield_12322142": + null, "timeoriginalestimate": null, "description": "Security Tracking Issue\n\nDo + not make this issue public.\n\nNOTE THIS ISSUE IS CURRENTLY EMBARGOED, DO + NOT MAKE PUBLIC COMMITS OR COMMENTS ABOUT THIS ISSUE.\n\nWARNING: NOTICE THAT + CHANGING THE SECURITY LEVEL FROM \"SECURITY ISSUE\" TO \"RED HAT INTERNAL\" + MAY BREAK THE EMBARGO.\n\nFlaw:\n-----\n\ntest validations\nhttps://example.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "customfield_12322148": + null, "timetracking": {}, "security": {"self": "https://example.com/rest/api/2/securitylevel/11690", + "id": "11690", "description": "Restricts access to Product Security and the + people involved in resolving the issue. Only Product Security can remove this + level once applied", "name": "Embargoed Security Issue"}, "attachment": [], + "customfield_12316542": {"self": "https://example.com/rest/api/2/customFieldOption/14655", + "value": "False", "id": "14655", "disabled": false}, "customfield_12318446": + {"self": "https://example.com/rest/api/2/customFieldOption/39953", "value": + "No", "id": "39953", "disabled": false}, "customfield_12324041": null, "customfield_12316543": + {"self": "https://example.com/rest/api/2/customFieldOption/14657", "value": + "False", "id": "14657", "disabled": false}, "customfield_12324040": null, + "customfield_12316544": "None", "customfield_12310840": "9223372036854775807", + "summary": "EMBARGOED kernel: test validations [rhel-8.10.z]", "customfield_12323640": + null, "customfield_12325147": null, "customfield_12325146": null, "customfield_12323642": + null, "customfield_12325149": null, "customfield_12317360": null, "customfield_12323641": + null, "customfield_12325148": null, "customfield_12325143": null, "customfield_12318450": + null, "customfield_12325142": null, "customfield_12323242": null, "customfield_12325145": + null, "customfield_12325144": null, "customfield_12313040": null, "customfield_12323649": + null, "customfield_12321740": null, "customfield_12323644": null, "customfield_12323643": + null, "customfield_12323646": null, "customfield_12323645": null, "environment": + null, "customfield_12315740": null, "customfield_12313441": "", "customfield_12313440": + "0.0", "duedate": null, "customfield_12311140": null, "customfield_12319940": + null, "customfield_12319269": null, "customfield_12317366": null, "comment": + {"comments": [{"self": "https://example.com/rest/api/2/issue/16348462/comment/25582624", + "id": "25582624", "author": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "body": "\n h4. + Found errors for component \u201ckernel / Other\u201d while setting the following + fields according to [ownership mapping information in the source repository|https://example.com/bugzilla-data/components/-/blob/main/RHEL9/kernel + / Other]:\n\n {quote}\n * Pool Team: + no matching Jira value found for value \u201csst_kernel_maintainers_rhel_9\u201d + provided in the repository.\n\n {quote}\n ", + "updateAuthor": {"self": "https://example.com/rest/api/2/user?username=autobot-jira-api", + "name": "autobot-jira-api", "key": "autobot-jira-api", "emailAddress": "pme-bot@redhat.com", + "avatarUrls": {"48x48": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=48", + "24x24": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=24", + "16x16": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=16", + "32x32": "https://example.com/avatar/573dcb2fa1491b2623023b4ce48e2ea2?d=mm&s=32"}, + "displayName": "pme bot", "active": true, "timeZone": "UTC"}, "created": "2025-01-21T14:31:41.564+0000", + "updated": "2025-01-21T14:31:41.564+0000", "visibility": {"type": "group", + "value": "Red Hat Employee"}}], "maxResults": 1, "total": 1, "startAt": 0}, + "customfield_12325141": null, "customfield_12325140": null, "customfield_12310213": + null, "customfield_12311940": "2|i27pu7:"}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:42 GMT + Expires: + - Tue, 21 Jan 2025 14:31:42 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16739' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30013x1 + x-asessionid: + - d9v5kw + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469902.9eb9c339 + x-rh-edge-request-id: + - 9eb9c339 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/mypermissions?projectKey=OSIM + response: + body: + string: '{"permissions": {"ARCHIVE_ISSUES": {"id": "-1", "key": "ARCHIVE_ISSUES", + "name": "Archive Issues", "type": "PROJECT", "description": "Ability to archive + issues for a specific project.", "havePermission": true}, "VIEW_WORKFLOW_READONLY": + {"id": "45", "key": "VIEW_WORKFLOW_READONLY", "name": "View Read-Only Workflow", + "type": "PROJECT", "description": "admin.permissions.descriptions.VIEW_WORKFLOW_READONLY", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUES": {"id": "11", + "key": "CREATE_ISSUES", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true}, "VIEW_DEV_TOOLS": {"id": + "29", "key": "VIEW_DEV_TOOLS", "name": "View Development Tools", "type": "PROJECT", + "description": "Allows users in a software project to view development-related + information on the issue, such as commits, reviews and build information.", + "havePermission": true}, "BULK_CHANGE": {"id": "33", "key": "BULK_CHANGE", + "name": "Bulk Change", "type": "GLOBAL", "description": "Ability to modify + a collection of issues at once. For example, resolve multiple issues in one + step.", "havePermission": true}, "CREATE_ATTACHMENT": {"id": "19", "key": + "CREATE_ATTACHMENT", "name": "Create Attachments", "type": "PROJECT", "description": + "Users with this permission may create attachments.", "havePermission": true, + "deprecatedKey": true}, "DELETE_OWN_COMMENTS": {"id": "37", "key": "DELETE_OWN_COMMENTS", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true}, "WORK_ON_ISSUES": + {"id": "20", "key": "WORK_ON_ISSUES", "name": "Work On Issues", "type": "PROJECT", + "description": "Ability to log work done against an issue. Only useful if + Time Tracking is turned on.", "havePermission": true}, "PROJECT_ADMIN": {"id": + "23", "key": "PROJECT_ADMIN", "name": "Administer Projects", "type": "PROJECT", + "description": "Ability to administer a project in Jira.", "havePermission": + true, "deprecatedKey": true}, "COMMENT_EDIT_ALL": {"id": "34", "key": "COMMENT_EDIT_ALL", + "name": "Edit All Comments", "type": "PROJECT", "description": "Ability to + edit all comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ATTACHMENT_DELETE_OWN": {"id": "39", "key": "ATTACHMENT_DELETE_OWN", + "name": "Delete Own Attachments", "type": "PROJECT", "description": "Users + with this permission may delete own attachments.", "havePermission": true, + "deprecatedKey": true}, "WORKLOG_DELETE_OWN": {"id": "42", "key": "WORKLOG_DELETE_OWN", + "name": "Delete Own Worklogs", "type": "PROJECT", "description": "Ability + to delete own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "CLOSE_ISSUE": {"id": "18", "key": "CLOSE_ISSUE", "name": "Close Issues", + "type": "PROJECT", "description": "Ability to close issues. Often useful where + your developers resolve issues, and a QA department closes them.", "havePermission": + true, "deprecatedKey": true}, "MANAGE_WATCHER_LIST": {"id": "32", "key": "MANAGE_WATCHER_LIST", + "name": "Manage Watchers", "type": "PROJECT", "description": "Ability to manage + the watchers of an issue.", "havePermission": true, "deprecatedKey": true}, + "VIEW_VOTERS_AND_WATCHERS": {"id": "31", "key": "VIEW_VOTERS_AND_WATCHERS", + "name": "View Voters and Watchers", "type": "PROJECT", "description": "Ability + to view the voters and watchers of an issue.", "havePermission": true}, "ADD_COMMENTS": + {"id": "15", "key": "ADD_COMMENTS", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true}, "COMMENT_DELETE_ALL": + {"id": "36", "key": "COMMENT_DELETE_ALL", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true, "deprecatedKey": true}, "CREATE_ISSUE": {"id": "11", + "key": "CREATE_ISSUE", "name": "Create Issues", "type": "PROJECT", "description": + "Ability to create issues.", "havePermission": true, "deprecatedKey": true}, + "DELETE_OWN_ATTACHMENTS": {"id": "39", "key": "DELETE_OWN_ATTACHMENTS", "name": + "Delete Own Attachments", "type": "PROJECT", "description": "Users with this + permission may delete own attachments.", "havePermission": true}, "DELETE_ALL_ATTACHMENTS": + {"id": "38", "key": "DELETE_ALL_ATTACHMENTS", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true}, "ASSIGN_ISSUE": {"id": "13", "key": + "ASSIGN_ISSUE", "name": "Assign Issues", "type": "PROJECT", "description": + "Ability to assign issues to other people.", "havePermission": true, "deprecatedKey": + true}, "LINK_ISSUE": {"id": "21", "key": "LINK_ISSUE", "name": "Link Issues", + "type": "PROJECT", "description": "Ability to link issues together and create + linked issues. Only useful if issue linking is turned on.", "havePermission": + true, "deprecatedKey": true}, "EDIT_OWN_WORKLOGS": {"id": "40", "key": "EDIT_OWN_WORKLOGS", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true}, "CREATE_ATTACHMENTS": + {"id": "19", "key": "CREATE_ATTACHMENTS", "name": "Create Attachments", "type": + "PROJECT", "description": "Users with this permission may create attachments.", + "havePermission": true}, "EDIT_ALL_WORKLOGS": {"id": "41", "key": "EDIT_ALL_WORKLOGS", + "name": "Edit All Worklogs", "type": "PROJECT", "description": "Ability to + edit all worklogs made on issues.", "havePermission": true}, "SCHEDULE_ISSUE": + {"id": "28", "key": "SCHEDULE_ISSUE", "name": "Schedule Issues", "type": "PROJECT", + "description": "Ability to view or edit an issue''s due date.", "havePermission": + true, "deprecatedKey": true}, "CLOSE_ISSUES": {"id": "18", "key": "CLOSE_ISSUES", + "name": "Close Issues", "type": "PROJECT", "description": "Ability to close + issues. Often useful where your developers resolve issues, and a QA department + closes them.", "havePermission": true}, "SET_ISSUE_SECURITY": {"id": "26", + "key": "SET_ISSUE_SECURITY", "name": "Set Issue Security", "type": "PROJECT", + "description": "Ability to set the level of security on an issue so that only + people in that security level can see the issue.", "havePermission": true}, + "SCHEDULE_ISSUES": {"id": "28", "key": "SCHEDULE_ISSUES", "name": "Schedule + Issues", "type": "PROJECT", "description": "Ability to view or edit an issue''s + due date.", "havePermission": true}, "WORKLOG_DELETE_ALL": {"id": "43", "key": + "WORKLOG_DELETE_ALL", "name": "Delete All Worklogs", "type": "PROJECT", "description": + "Ability to delete all worklogs made on issues.", "havePermission": true, + "deprecatedKey": true}, "COMMENT_DELETE_OWN": {"id": "37", "key": "COMMENT_DELETE_OWN", + "name": "Delete Own Comments", "type": "PROJECT", "description": "Ability + to delete own comments made on issues.", "havePermission": true, "deprecatedKey": + true}, "ADMINISTER_PROJECTS": {"id": "23", "key": "ADMINISTER_PROJECTS", "name": + "Administer Projects", "type": "PROJECT", "description": "Ability to administer + a project in Jira.", "havePermission": true}, "DELETE_ALL_COMMENTS": {"id": + "36", "key": "DELETE_ALL_COMMENTS", "name": "Delete All Comments", "type": + "PROJECT", "description": "Ability to delete all comments made on issues.", + "havePermission": true}, "RESOLVE_ISSUES": {"id": "14", "key": "RESOLVE_ISSUES", + "name": "Resolve Issues", "type": "PROJECT", "description": "Ability to resolve + and reopen issues. This includes the ability to set a fix version.", "havePermission": + true}, "VIEW_READONLY_WORKFLOW": {"id": "45", "key": "VIEW_READONLY_WORKFLOW", + "name": "View Read-Only Workflow", "type": "PROJECT", "description": "Users + with this permission may view a read-only version of a workflow.", "havePermission": + true}, "ADMINISTER": {"id": "0", "key": "ADMINISTER", "name": "Jira Administrators", + "type": "GLOBAL", "description": "Ability to perform most administration functions + (excluding Import & Export, SMTP Configuration, etc.).", "havePermission": + false}, "GLOBAL_BROWSE_ARCHIVE": {"id": "-1", "key": "GLOBAL_BROWSE_ARCHIVE", + "name": "Browse Archive", "type": "GLOBAL", "description": "Ability to browse + all archived issues.", "havePermission": false}, "MOVE_ISSUES": {"id": "25", + "key": "MOVE_ISSUES", "name": "Move Issues", "type": "PROJECT", "description": + "Ability to move issues between projects or between workflows of the same + project (if applicable). Note the user can only move issues to a project he + or she has the create permission for.", "havePermission": true}, "TRANSITION_ISSUES": + {"id": "46", "key": "TRANSITION_ISSUES", "name": "Transition Issues", "type": + "PROJECT", "description": "Ability to transition issues.", "havePermission": + true}, "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION": {"id": "-1", "key": "EDIT_SPRINT_NAME_AND_GOAL_PERMISSION", + "name": "Edit Sprints", "type": "PROJECT", "description": "Ability to edit + sprint name and goal.", "havePermission": false}, "SYSTEM_ADMIN": {"id": "44", + "key": "SYSTEM_ADMIN", "name": "Jira System Administrators", "type": "GLOBAL", + "description": "Ability to perform all administration functions. There must + be at least one group with this permission.", "havePermission": false}, "DELETE_OWN_WORKLOGS": + {"id": "42", "key": "DELETE_OWN_WORKLOGS", "name": "Delete Own Worklogs", + "type": "PROJECT", "description": "Ability to delete own worklogs made on + issues.", "havePermission": true}, "BROWSE": {"id": "10", "key": "BROWSE", + "name": "Browse Projects", "type": "PROJECT", "description": "Ability to browse + projects and the issues within them.", "havePermission": true, "deprecatedKey": + true}, "EDIT_ISSUE": {"id": "12", "key": "EDIT_ISSUE", "name": "Edit Issues", + "type": "PROJECT", "description": "Ability to edit issues.", "havePermission": + true, "deprecatedKey": true}, "MODIFY_REPORTER": {"id": "30", "key": "MODIFY_REPORTER", + "name": "Modify Reporter", "type": "PROJECT", "description": "Ability to modify + the reporter when creating or editing an issue.", "havePermission": true}, + "EDIT_ISSUES": {"id": "12", "key": "EDIT_ISSUES", "name": "Edit Issues", "type": + "PROJECT", "description": "Ability to edit issues.", "havePermission": true}, + "MANAGE_WATCHERS": {"id": "32", "key": "MANAGE_WATCHERS", "name": "Manage + Watchers", "type": "PROJECT", "description": "Ability to manage the watchers + of an issue.", "havePermission": true}, "EDIT_OWN_COMMENTS": {"id": "35", + "key": "EDIT_OWN_COMMENTS", "name": "Edit Own Comments", "type": "PROJECT", + "description": "Ability to edit own comments made on issues.", "havePermission": + true}, "ASSIGN_ISSUES": {"id": "13", "key": "ASSIGN_ISSUES", "name": "Assign + Issues", "type": "PROJECT", "description": "Ability to assign issues to other + people.", "havePermission": true}, "BROWSE_PROJECTS": {"id": "10", "key": + "BROWSE_PROJECTS", "name": "Browse Projects", "type": "PROJECT", "description": + "Ability to browse projects and the issues within them.", "havePermission": + true}, "gtmhub-view-OKRs-permissions": {"id": "-1", "key": "gtmhub-view-OKRs-permissions", + "name": "View OKRs", "type": "GLOBAL", "description": "Ability to view Quantive + Results OKRs (Objective and key results) that are linked to a given issue", + "havePermission": false}, "RESTORE_ISSUES": {"id": "-1", "key": "RESTORE_ISSUES", + "name": "Restore Issues", "type": "PROJECT", "description": "Ability to restore + issues for a specific project.", "havePermission": true}, "BROWSE_ARCHIVE": + {"id": "-1", "key": "BROWSE_ARCHIVE", "name": "Browse Project Archive", "type": + "PROJECT", "description": "Ability to browse archived issues from a specific + project.", "havePermission": true}, "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL": {"id": + "-1", "key": "A4J_PERM_IMPERSONATE_ACTOR_GLOBAL", "name": "Impersonate users + in A4J global scope", "type": "GLOBAL", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": true}, + "VIEW_VERSION_CONTROL": {"id": "29", "key": "VIEW_VERSION_CONTROL", "name": + "View Development Tools", "type": "PROJECT", "description": "Allows users + to view development-related information on the view issue screen, like commits, + reviews and build information.", "havePermission": true, "deprecatedKey": + true}, "START_STOP_SPRINTS_PERMISSION": {"id": "-1", "key": "START_STOP_SPRINTS_PERMISSION", + "name": "Start/Complete Sprints", "type": "PROJECT", "description": "Ability + to start and complete sprints.", "havePermission": true}, "WORK_ISSUE": {"id": + "20", "key": "WORK_ISSUE", "name": "Work On Issues", "type": "PROJECT", "description": + "Ability to log work done against an issue. Only useful if Time Tracking is + turned on.", "havePermission": true, "deprecatedKey": true}, "COMMENT_ISSUE": + {"id": "15", "key": "COMMENT_ISSUE", "name": "Add Comments", "type": "PROJECT", + "description": "Ability to comment on issues.", "havePermission": true, "deprecatedKey": + true}, "WORKLOG_EDIT_ALL": {"id": "41", "key": "WORKLOG_EDIT_ALL", "name": + "Edit All Worklogs", "type": "PROJECT", "description": "Ability to edit all + worklogs made on issues.", "havePermission": true, "deprecatedKey": true}, + "EDIT_ALL_COMMENTS": {"id": "34", "key": "EDIT_ALL_COMMENTS", "name": "Edit + All Comments", "type": "PROJECT", "description": "Ability to edit all comments + made on issues.", "havePermission": true}, "DELETE_ISSUE": {"id": "16", "key": + "DELETE_ISSUE", "name": "Delete Issues", "type": "PROJECT", "description": + "Ability to delete issues.", "havePermission": false, "deprecatedKey": true}, + "MANAGE_SPRINTS_PERMISSION": {"id": "-1", "key": "MANAGE_SPRINTS_PERMISSION", + "name": "Manage Sprints", "type": "PROJECT", "description": "Ability to manage + sprints.", "havePermission": true}, "USER_PICKER": {"id": "27", "key": "USER_PICKER", + "name": "Browse Users", "type": "GLOBAL", "description": "Ability to select + a user or group from a popup window as well as the ability to use the ''share'' + issues feature. Users with this permission will also be able to see names + of all users and groups in the system.", "havePermission": true}, "CREATE_SHARED_OBJECTS": + {"id": "22", "key": "CREATE_SHARED_OBJECTS", "name": "Create Shared Objects", + "type": "GLOBAL", "description": "Ability to share dashboards and filters + with other users, groups and roles.", "havePermission": true}, "ATTACHMENT_DELETE_ALL": + {"id": "38", "key": "ATTACHMENT_DELETE_ALL", "name": "Delete All Attachments", + "type": "PROJECT", "description": "Users with this permission may delete all + attachments.", "havePermission": true, "deprecatedKey": true}, "DELETE_ISSUES": + {"id": "16", "key": "DELETE_ISSUES", "name": "Delete Issues", "type": "PROJECT", + "description": "Ability to delete issues.", "havePermission": false}, "MANAGE_GROUP_FILTER_SUBSCRIPTIONS": + {"id": "24", "key": "MANAGE_GROUP_FILTER_SUBSCRIPTIONS", "name": "Manage Group + Filter Subscriptions", "type": "GLOBAL", "description": "Ability to manage + (create and delete) group filter subscriptions.", "havePermission": true}, + "RESOLVE_ISSUE": {"id": "14", "key": "RESOLVE_ISSUE", "name": "Resolve Issues", + "type": "PROJECT", "description": "Ability to resolve and reopen issues. This + includes the ability to set a fix version.", "havePermission": true, "deprecatedKey": + true}, "SERVICEDESK_AGENT": {"id": "-1", "key": "SERVICEDESK_AGENT", "name": + "Service Desk Agent", "type": "PROJECT", "description": "Allows users to interact + with customers and access Jira Service Management features of a project.", + "havePermission": false}, "A4J_PERM_IMPERSONATE_ACTOR_PROJECT": {"id": "-1", + "key": "A4J_PERM_IMPERSONATE_ACTOR_PROJECT", "name": "Impersonate users in + A4J project scope", "type": "PROJECT", "description": "Having the permission + allows to select other user as automation rule actor", "havePermission": false}, + "ASSIGNABLE_USER": {"id": "17", "key": "ASSIGNABLE_USER", "name": "Assignable + User", "type": "PROJECT", "description": "Users with this permission may be + assigned to issues.", "havePermission": true}, "TRANSITION_ISSUE": {"id": + "46", "key": "TRANSITION_ISSUE", "name": "Transition Issues", "type": "PROJECT", + "description": "Ability to transition issues.", "havePermission": true, "deprecatedKey": + true}, "COMMENT_EDIT_OWN": {"id": "35", "key": "COMMENT_EDIT_OWN", "name": + "Edit Own Comments", "type": "PROJECT", "description": "Ability to edit own + comments made on issues.", "havePermission": true, "deprecatedKey": true}, + "MOVE_ISSUE": {"id": "25", "key": "MOVE_ISSUE", "name": "Move Issues", "type": + "PROJECT", "description": "Ability to move issues between projects or between + workflows of the same project (if applicable). Note the user can only move + issues to a project he or she has the create permission for.", "havePermission": + true, "deprecatedKey": true}, "WORKLOG_EDIT_OWN": {"id": "40", "key": "WORKLOG_EDIT_OWN", + "name": "Edit Own Worklogs", "type": "PROJECT", "description": "Ability to + edit own worklogs made on issues.", "havePermission": true, "deprecatedKey": + true}, "DELETE_ALL_WORKLOGS": {"id": "43", "key": "DELETE_ALL_WORKLOGS", "name": + "Delete All Worklogs", "type": "PROJECT", "description": "Ability to delete + all worklogs made on issues.", "havePermission": true}, "LINK_ISSUES": {"id": + "21", "key": "LINK_ISSUES", "name": "Link Issues", "type": "PROJECT", "description": + "Ability to link issues together and create linked issues. Only useful if + issue linking is turned on.", "havePermission": true}, "gtmhub-view-OKRs-prj-permissions": + {"id": "-1", "key": "gtmhub-view-OKRs-prj-permissions", "name": "View OKRs", + "type": "PROJECT", "description": "Ability to view Quantive Results OKRs (Objective + and key results) that are linked to a given issue", "havePermission": false}}}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:43 GMT + Expires: + - Tue, 21 Jan 2025 14:31:43 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '16539' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30014x1 + x-asessionid: + - 1haegh2 + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469903.8b16d4ba + x-rh-edge-request-id: + - 8b16d4ba + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: GET + uri: https://example.com/rest/api/2/issue/OSIM-19917/transitions + response: + body: + string: '{"expand": "transitions", "transitions": [{"id": "11", "name": "New", + "description": "", "opsbarSequence": 10, "to": {"self": "https://example.com/rest/api/2/status/10016", + "description": "Initial creation status. Implies nothing yet and should be + very short lived; also can be a Bugzilla status.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "New", "id": "10016", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}}, {"id": + "71", "name": "Refinement", "description": "", "opsbarSequence": 20, "to": + {"self": "https://example.com/rest/api/2/status/15021", "description": "Work + is being scoped and discussed (To Do status category; see also Draft)", "iconUrl": + "https://example.com/images/icons/statuses/generic.png", "name": "Refinement", + "id": "15021", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}}, {"id": + "31", "name": "To Do", "description": "", "opsbarSequence": 30, "to": {"self": + "https://example.com/rest/api/2/status/10020", "description": "The team is + planning to do this work and it has a priority set", "iconUrl": "https://example.com/", + "name": "To Do", "id": "10020", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/2", + "id": 2, "key": "new", "colorName": "default", "name": "To Do"}}}, {"id": + "41", "name": "In Progress", "description": "", "opsbarSequence": 40, "to": + {"self": "https://example.com/rest/api/2/status/10018", "description": "Work + has started", "iconUrl": "https://example.com/images/icons/status_generic.gif", + "name": "In Progress", "id": "10018", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/4", + "id": 4, "key": "indeterminate", "colorName": "inprogress", "name": "In Progress"}}}, + {"id": "51", "name": "Review", "description": "", "opsbarSequence": 50, "to": + {"self": "https://example.com/rest/api/2/status/12422", "description": "Work + is being reviewed. This can be for multiple purposes: QE validation, engineer + review, or some kind of peer review.", "iconUrl": "https://example.com/images/icons/statuses/generic.png", + "name": "Review", "id": "12422", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/4", + "id": 4, "key": "indeterminate", "colorName": "inprogress", "name": "In Progress"}}}, + {"id": "61", "name": "Closed", "description": "", "opsbarSequence": 60, "to": + {"self": "https://example.com/rest/api/2/status/6", "description": "The issue + is closed. See the resolution for context regarding why (for example Done, + Abandoned, Duplicate, etc)", "iconUrl": "https://example.com/images/icons/statuses/closed.png", + "name": "Closed", "id": "6", "statusCategory": {"self": "https://example.com/rest/api/2/statuscategory/3", + "id": 3, "key": "done", "colorName": "success", "name": "Done"}}}]}' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:43 GMT + Expires: + - Tue, 21 Jan 2025 14:31:43 GMT + Pragma: + - no-cache + Vary: + - User-Agent + - Accept-Encoding + content-length: + - '2963' + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30015x1 + x-asessionid: + - 1l0ymxj + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469903.8b16d4ed + x-rh-edge-request-id: + - 8b16d4ed + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: '{"transition": {"id": "41"}, "fields": {}}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '42' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: POST + uri: https://example.com/rest/api/2/issue/OSIM-19917/transitions + response: + body: + string: '' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:45 GMT + Expires: + - Tue, 21 Jan 2025 14:31:45 GMT + Pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-2 + x-arequestid: + - 871x30016x1 + x-asessionid: + - is4ubb + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469903.8b16d59e + x-rh-edge-request-id: + - 8b16d59e + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"fields": {"issuetype": {"name": "Bug"}, "project": {"key": "RHEL"}, "priority": + {"name": "Critical"}, "description": "Security Tracking Issue\n\nDo not make + this issue public.\n\nFlaw:\n-----\n\ntest validations\nhttps://bugzilla.stage.redhat.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "labels": ["Security", + "SecurityTracking", "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", + "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", "pscomponent:kernel"], "summary": + "kernel: test validations [rhel-8]", "security": {"name": "Red Hat Employee"}}, + "key": "RHEL-59744"}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '713' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: PUT + uri: https://example.com/rest/api/2/issue/RHEL-59744 + response: + body: + string: '' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:46 GMT + Expires: + - Tue, 21 Jan 2025 14:31:46 GMT + Pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-1 + x-arequestid: + - 871x211131x1 + x-asessionid: + - 1p5bb5x + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.bdeda17.1737469905.9eb9e808 + x-rh-edge-request-id: + - 9eb9e808 + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +- request: + body: '{"fields": {"issuetype": {"name": "Bug"}, "project": {"key": "RHEL"}, "priority": + {"name": "Critical"}, "description": "Security Tracking Issue\n\nDo not make + this issue public.\n\nFlaw:\n-----\n\ntest validations\nhttps://bugzilla.stage.redhat.com/show_bug.cgi?id=2312096\n\nthis + is a simple test\n\n~~~\n\nReproducers, if any, will remain confidential and + never be made public, unless done so by the security team.", "labels": ["Security", + "SecurityTracking", "flaw:bz#2312096", "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", + "flawuuid:72e67948-2931-48c4-965d-49f70dc814bd", "pscomponent:kernel"], "summary": + "kernel: test validations [rhel-8.10.z]", "security": {"name": "Red Hat Employee"}}, + "key": "RHEL-59745"}' + headers: + Accept: + - application/json,*.*;q=0.9 + Accept-Encoding: + - gzip, deflate + Cache-Control: + - no-cache + Connection: + - keep-alive + Content-Length: + - '718' + Content-Type: + - application/json + User-Agent: + - python-requests/2.32.3 + X-Atlassian-Token: + - no-check + method: PUT + uri: https://example.com/rest/api/2/issue/RHEL-59745 + response: + body: + string: '' + headers: + Cache-Control: + - max-age=0, no-cache, no-store + Connection: + - keep-alive + Content-Type: + - application/json;charset=UTF-8 + Date: + - Tue, 21 Jan 2025 14:31:48 GMT + Expires: + - Tue, 21 Jan 2025 14:31:48 GMT + Pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=31536000 + x-anodeid: + - rh1-jira-dc-stg-mpp-0 + x-arequestid: + - 871x54655x1 + x-asessionid: + - bolbks + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-rh-edge-cache-status: + - NotCacheable from child + x-rh-edge-reference-id: + - 0.15deda17.1737469907.8b16e6cb + x-rh-edge-request-id: + - 8b16e6cb + x-seraph-loginreason: + - OK + x-xss-protection: + - 1; mode=block + status: + code: 204 + message: No Content +version: 1 diff --git a/osidb/tests/test_e2e.py b/osidb/tests/test_e2e.py new file mode 100644 index 000000000..2f761c5a4 --- /dev/null +++ b/osidb/tests/test_e2e.py @@ -0,0 +1,283 @@ +import pytest +from django.utils import timezone +from freezegun import freeze_time + +from apps.taskman.service import JiraTaskmanQuerier +from apps.trackers.constants import TRACKERS_API_VERSION +from apps.workflows.models import Workflow +from apps.workflows.workflow import WorkflowFramework, WorkflowModel +from collectors.jiraffe.collectors import JiraTrackerCollector +from osidb.models import Affect, Flaw, PsUpdateStream, Tracker +from osidb.sync_manager import BZSyncManager, JiraTrackerLinkManager + +pytestmark = pytest.mark.unit + + +@pytest.fixture +def test_trackers_api_uri() -> str: + return f"http://osidb-service:8000/trackers/api/{TRACKERS_API_VERSION}" + + +def tzdatetime(*args): + return timezone.datetime(*args, tzinfo=timezone.get_current_timezone()) + + +class TestE2E: + """ + Test complete use case cenarios with all sync enabled, + relying on REST API to simulate user behavior + """ + + @pytest.mark.parametrize("embargoed", [True, False]) + @freeze_time(tzdatetime(2024, 8, 6)) + @pytest.mark.vcr + def test_flaw_affect_tracker( + self, + auth_client, + bugzilla_token, + client, + embargoed, + enable_bz_async_sync, + enable_jira_task_sync, + enable_jira_tracker_sync, + jira_token, + monkeypatch, + setup_sample_external_resources, + test_api_uri, + test_trackers_api_uri, + ): + """ + Test that an user can create a flaw from scratch, including: + - create flaw and sync with bz and jira task + - create affect + - create async tracker + - collect tracker data and link with affect + - validate access rights in all steps + """ + unembargoed_dt = "2024-08-06T00:00:00.000Z" + expected_status = 200 + if embargoed: + unembargoed_dt = "2024-08-07T00:00:00.000Z" + expected_status = 404 + + # Simulates user behavior for task sync + monkeypatch.setattr(JiraTaskmanQuerier, "is_service_account", lambda x: False) + + # 1) create flaw + flaw_data = { + "title": "test validations", + "comment_zero": "this is a simple test", + "impact": "CRITICAL", + "components": ["curl"], + "source": "REDHAT", + "reported_dt": "2024-08-06T00:00:00.000Z", + "unembargo_dt": unembargoed_dt, + "embargoed": embargoed, + } + + response = auth_client().post( + f"{test_api_uri}/flaws", + flaw_data, + format="json", + HTTP_BUGZILLA_API_KEY=bugzilla_token, + HTTP_JIRA_API_KEY=jira_token, + ) + + # 1.1) validade flaw were created and bz sync is scheduled + assert response.status_code == 201 + body = response.json() + assert BZSyncManager.objects.get(sync_id=body["uuid"]) + + # 1.2) synchronously bzsync instead of waiting on Celery + flaw = Flaw.objects.get(uuid=body["uuid"]) + flaw._perform_bzsync(bz_api_key=bugzilla_token) + + # 1.3) validate access control + response = client.get( + f"{test_api_uri}/flaws/{flaw.uuid}?include_meta_attr=bz_id&include_history=true" + ) + assert response.status_code == expected_status + if not embargoed: + assert response.json()["title"] == "test validations" + assert "curl" in response.json()["components"] + assert response.json()["meta_attr"]["bz_id"] + + # 2) get valid external data + ps_update_streams = PsUpdateStream.objects.filter( + active_to_ps_module__bts_name="jboss" + ).order_by("name")[:2] + ps_module = ps_update_streams[0].active_to_ps_module + ps_module.private_trackers_allowed = True + ps_module.save() + + # 3) create affect + affects_data = [ + { + "flaw": str(flaw.uuid), + "affectedness": "AFFECTED", + "resolution": "DELEGATED", + "ps_module": ps_module.name, + "ps_component": ps_module.default_component, + "impact": "CRITICAL", + "embargoed": embargoed, + } + ] + response = auth_client().post( + f"{test_api_uri}/affects/bulk", + affects_data, + format="json", + HTTP_BUGZILLA_API_KEY=bugzilla_token, + HTTP_JIRA_API_KEY=jira_token, + ) + assert response.status_code == 200 + body = response.json() + affect = Affect.objects.get(uuid=body["results"][0]["uuid"]) + + # 3.1) validate access control for affects + response = client.get(f"{test_api_uri}/flaws/{flaw.uuid}") + assert response.status_code == expected_status + if not embargoed: + assert len(response.json()["affects"]) == 1 + + # 4) get and validate trackers suggestions + response = auth_client().post( + f"{test_trackers_api_uri}/file", + data={"flaw_uuids": [flaw.uuid]}, + format="json", + HTTP_BUGZILLA_API_KEY=bugzilla_token, + HTTP_JIRA_API_KEY=jira_token, + ) + body = response.json() + comp = body["modules_components"][0] + assert comp["ps_module"] == ps_module.name + assert comp["ps_component"] == ps_module.default_component + + suggested_trackers = [stream["ps_update_stream"] for stream in comp["streams"]] + assert ps_update_streams[0].name in suggested_trackers + assert ps_update_streams[1].name in suggested_trackers + + # 5) create trackers + for stream in ps_update_streams: + tracker_data = { + "affects": [affect.uuid], + "embargoed": flaw.embargoed, + "ps_update_stream": stream.name, + } + response = auth_client().post( + f"{test_api_uri}/trackers", + tracker_data, + format="json", + HTTP_BUGZILLA_API_KEY=bugzilla_token, + HTTP_JIRA_API_KEY=jira_token, + ) + assert response.status_code == 201 + body = response.json() + assert body["external_system_id"] + tracker_id = body["external_system_id"] + assert body["type"] == Tracker.TrackerType.JIRA + assert body["ps_update_stream"] == stream.name + jc = JiraTrackerCollector() + jc.collect(tracker_id) + JiraTrackerLinkManager.link_tracker_with_affects(tracker_id) + + # 5.1) validate access control for trackers + response = client.get( + f"{test_api_uri}/flaws/{flaw.uuid}?include_meta_attr=bz_id&include_history=true" + ) + assert response.status_code == expected_status + if not embargoed: + assert len(response.json()["trackers"]) == 2 + assert len(response.json()["affects"]) == 1 + assert len(response.json()["affects"][0]["trackers"]) == 2 + assert "curl" in response.json()["components"] + assert response.json()["meta_attr"]["bz_id"] + + # 6) validate users can promote flaws + # 6.1) setup workflows for test + workflow_framework = WorkflowFramework() + workflow_framework._workflows = [] + + state_new = { + "name": WorkflowModel.WorkflowState.NEW, + "requirements": [], + "jira_state": "New", + "jira_resolution": None, + } + + state_first = { + "name": WorkflowModel.WorkflowState.SECONDARY_ASSESSMENT, + "requirements": ["has title"], + "jira_state": "In Progress", + "jira_resolution": None, + } + + workflow = Workflow( + { + "name": "DEFAULT", + "description": "random description", + "priority": 0, + "conditions": [], + "states": [state_new, state_first], + } + ) + workflow_framework.register_workflow(workflow) + + # 6.2) promote flaw + response = auth_client().post( + f"{test_api_uri}/flaws/{flaw.uuid}/promote", + data={}, + format="json", + HTTP_BUGZILLA_API_KEY=bugzilla_token, + HTTP_JIRA_API_KEY=jira_token, + ) + assert response.status_code == 200 + + # 6.3) validate promotion were applied + response = auth_client().get( + f"{test_api_uri}/flaws/{flaw.uuid}?include_meta_attr=bz_id&include_history=true" + ) + assert response.status_code == 200 + body = response.json() + assert ( + body["classification"]["state"] + == WorkflowModel.WorkflowState.SECONDARY_ASSESSMENT + ) + + # 7) validate users can unembargo flaw + if embargoed: + with freeze_time(tzdatetime(2024, 8, 15)): + flaw.refresh_from_db() + flaw_data = { + "title": "test validations", + "comment_zero": "this is a simple test", + "impact": "CRITICAL", + "components": ["curl"], + "source": "REDHAT", + "reported_dt": "2024-08-06T00:00:00.000Z", + "unembargo_dt": unembargoed_dt, + "updated_dt": flaw.updated_dt, + "embargoed": False, + } + response = auth_client().put( + f"{test_api_uri}/flaws/{flaw.uuid}", + flaw_data, + format="json", + HTTP_BUGZILLA_API_KEY=bugzilla_token, + HTTP_JIRA_API_KEY=jira_token, + ) + assert response.status_code == 200 + + response = client.get( + f"{test_api_uri}/flaws/{flaw.uuid}?include_meta_attr=bz_id&include_history=true" + ) + assert response.status_code == 200 + body = response.json() + assert len(body["trackers"]) == 2 + assert len(body["affects"]) == 1 + assert len(body["affects"][0]["trackers"]) == 2 + assert "curl" in body["components"] + assert body["meta_attr"]["bz_id"] + # test modifications made while embargoed are now public + assert any( + h["pgh_diff"] and "task_key" in h["pgh_diff"] for h in body["history"] + )