{
    "componentChunkName": "component---src-templates-page-jsx",
    "path": "/docs/test-management/qi-home/context-mapping/map-github/",
    "result": {"data":{"markdownRemark":{"html":"<p><strong>Map GitHub pull requests to sprints or Ad-Hoc sessions so Atto can generate or update test cases based on code changes.</strong></p>\n<p>For GitHub App setup on the developer side, see <a href=\"https://testsigma.com/docs/test-management/qi-home/context-mapping/connect-github/\">Connect GitHub</a>.</p>\n<hr>\n<p>When your developers open or update pull requests in GitHub, Atto detects them and shows them in the <strong>Unmapped Context</strong> view in QI Home. Each pull request appears with an AI-generated suggestion for which module and sprint it belongs to. You review the suggestion and map it with a few clicks.</p>\n<p>Once mapped, Atto generates new test cases or updates existing ones based on the code changes in that pull request.</p>\n<hr>\n<blockquote>\n<h2 id=\"prerequisites\" style=\"position:relative;\"><a href=\"#prerequisites\" aria-label=\"prerequisites permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Prerequisites</strong></h2>\n<p>Before you begin, ensure that:</p>\n<ul>\n<li>Your GitHub account is connected to your project. Go to <strong>Settings > Integrations</strong> to connect.</li>\n<li>At least one sprint or Ad-Hoc session exists with generated test cases.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"view-unmapped-github-context\" style=\"position:relative;\"><a href=\"#view-unmapped-github-context\" aria-label=\"view unmapped github context permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>View Unmapped GitHub Context</strong></h2>\n<ol>\n<li>From the left navigation, go to <strong>QI Home</strong>.</li>\n<li>In the left sidebar, click <strong>View</strong> next to <strong>Unmapped Context</strong>.</li>\n<li>The <strong>Unmapped Context</strong> tab opens. GitHub PRs are identified by the GitHub PR badge.</li>\n</ol>\n<p>Each GitHub PR entry shows:</p>\n<ul>\n<li><strong>PR title</strong>: The pull request title.</li>\n<li><strong>Repository</strong>: The repository and branch the PR is from.</li>\n<li><strong>Author</strong>: The developer who opened the PR.</li>\n<li><strong>Lines changed</strong>: Lines added and removed.</li>\n<li><strong>Time</strong>: When the PR was opened or last updated.</li>\n<li><strong>AI Suggestion</strong>: The module Atto recommends mapping this PR to.</li>\n</ul>\n<hr>\n<h2 id=\"map-a-github-pr-to-a-sprint\" style=\"position:relative;\"><a href=\"#map-a-github-pr-to-a-sprint\" aria-label=\"map a github pr to a sprint permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Map a GitHub PR to a Sprint</strong></h2>\n<ol>\n<li>On the PR you want to map, click <strong>Map to Module</strong>.</li>\n<li>In the <strong>Map to Module</strong> dialog, select the <strong>Project</strong> from the dropdown.</li>\n<li>Under <strong>Map to</strong>, select <strong>Sprint</strong>.</li>\n<li>Select the <strong>Sprint</strong> you want to map this PR to.</li>\n<li>Select the <strong>Stories</strong> within the sprint that this PR relates to.</li>\n<li>Review the <strong>What happens next</strong> message: \"This PR will be mapped to the selected stories in the sprint and test cases will be auto-generated by Atto.\"</li>\n<li>Click <strong>Map</strong>.</li>\n</ol>\n<p>Atto triggers test generation for the selected sprint. New test cases are generated or existing ones are updated based on the PR's changes.</p>\n<hr>\n<h2 id=\"map-a-github-pr-to-an-ad-hoc-session\" style=\"position:relative;\"><a href=\"#map-a-github-pr-to-an-ad-hoc-session\" aria-label=\"map a github pr to an ad hoc session permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Map a GitHub PR to an Ad-Hoc Session</strong></h2>\n<ol>\n<li>On the PR you want to map, click <strong>Map to Module</strong>.</li>\n<li>In the <strong>Map to Module</strong> dialog, select the <strong>Project</strong>.</li>\n<li>Under <strong>Map to</strong>, select <strong>Adhoc</strong>.</li>\n<li>Under <strong>Existing Adhoc Session</strong>, select the session you want to map to, or select <strong>+ Create New Adhoc Session</strong> to start a new one.</li>\n<li>Click <strong>Map</strong>.</li>\n</ol>\n<hr>\n<h2 id=\"map-multiple-prs-at-once\" style=\"position:relative;\"><a href=\"#map-multiple-prs-at-once\" aria-label=\"map multiple prs at once permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Map Multiple PRs at Once</strong></h2>\n<ol>\n<li>Select the checkboxes next to the PRs you want to map.</li>\n<li>A bottom action bar appears showing the number of PRs selected and a <strong>Map to Module</strong> button.</li>\n<li>Click <strong>Map to Module</strong>.</li>\n<li>In the <strong>Map to Module</strong> dialog, the selected PRs are listed at the top. Configure the mapping settings and click <strong>Map</strong>.</li>\n</ol>\n<hr>\n<h2 id=\"dismiss-a-github-pr\" style=\"position:relative;\"><a href=\"#dismiss-a-github-pr\" aria-label=\"dismiss a github pr permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Dismiss a GitHub PR</strong></h2>\n<p>If a PR is not relevant to your test coverage, click <strong>Dismiss</strong>. The PR is removed from the Unmapped Context list.</p>\n<div class=\"custom-block alert alert-info\"><div class=\"custom-block-heading\"><strong>NOTE</strong>:</div><div class=\"custom-block-body\"><p>Dismissed context does not contribute to coverage. You cannot recover dismissed context from this view.</p></div></div>\n<hr>\n<h2 id=\"view-mapped-context\" style=\"position:relative;\"><a href=\"#view-mapped-context\" aria-label=\"view mapped context permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>View Mapped Context</strong></h2>\n<ol>\n<li>In the Unmapped Context view, click the <strong>Mapped Context</strong> tab.</li>\n</ol>\n<p>The Mapped Context tab shows:</p>\n<ul>\n<li><strong>Total Mapped</strong>: The number of context entries successfully mapped.</li>\n<li><strong>Tests Generated</strong>: The number of test cases generated from mapped context.</li>\n<li><strong>Sprints Covered</strong>: The number of sprints that received test updates from mapped context.</li>\n</ul>\n<p>Each mapped context entry shows the sprint and story it was mapped to, and the number of test cases generated.</p>\n<hr>","frontmatter":{"title":"Map GitHub Context","page_title":"Map GitHub Context","metadesc":"Map GitHub pull requests to sprints or Ad-Hoc sessions so Atto can generate or update test cases based on code changes.","noindex":false,"contextual_links":[{"type":"section","name":"Contents","url":null},{"type":"link","name":"Prerequisites","url":"#prerequisites"},{"type":"link","name":"View Unmapped GitHub Context","url":"#view-unmapped-github-context"},{"type":"link","name":"Map a GitHub PR to a Sprint","url":"#map-a-github-pr-to-a-sprint"},{"type":"link","name":"Map a GitHub PR to an Ad-Hoc Session","url":"#map-a-github-pr-to-an-ad-hoc-session"},{"type":"link","name":"Map Multiple PRs at Once","url":"#map-multiple-prs-at-once"},{"type":"link","name":"View Mapped Context","url":"#view-mapped-context"}]},"fields":{"slug":"/docs/test-management/qi-home/context-mapping/map-github/"}}},"pageContext":{"slug":"/docs/test-management/qi-home/context-mapping/map-github/","prev":{"fields":{"slug":"/docs/test-management/qi-home/context-mapping/connect-codex/"},"frontmatter":{"title":"Connect Codex","metadesc":"How to install and connect the Arcus plugin for Codex so your coding context is captured and sent to QI Home for test generation.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}},"next":{"fields":{"slug":"/docs/test-management/qi-home/context-mapping/map-developer-context/"},"frontmatter":{"title":"Map Developer Context","metadesc":"Map Claude Code, Cursor, GitHub Copilot, and Codex context to sprints or Ad-Hoc sessions so Atto can generate or update test cases based on development activity.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}}}},
    "staticQueryHashes": ["2855385900","63159454"]}