Article
Connect IBM Bob to Jira in a regulated environment
Learn how to connect IBM Bob to Jira and streamline your SDLC compliance workflowConnecting IBM Bob to Jira lets you enforce audit trails, manage ticket traceability, and generate compliance evidence without leaving your IDE. This article walks you through a complete regulated SDLC workflow — from connecting Bob to Jira, to generating sprint compliance evidence.
In regulated environments, every production or data change needs a traceable link back to a Jira ticket (change record, audit trail, and segregation of duties controls). IBM Bob acts as an AI-powered coding partner that automates compliance actions directly within the IDE. Connecting Bob to Jira lets you create and reference tickets directly from your workflow instead of context-switching to a browser. It also means Bob has write access to a system of record, so setup needs guardrails.
This article covers a software development lifecycle (SDLC) use case: starting a feature, writing and reviewing code, deploying, and closing out a sprint with structured compliance evidence.
The following diagram illustrates how IBM Bob integrates with Jira inside a regulated development environment, using built-in workspace rules and empty-consent configurations as security guardrails to maintain traceability while keeping sensitive final decisions in human hands.

Step 1. Connect Bob to Jira
First, you need to configure an MCP server to connect Bob to Jira. You can use one of these two options:
- Local STDIO MCP server, which requires a Jira API token
- Remote Atlassian-hosted MCP server, which requires OAuth access
Using a local STDIO MCP server
The local STDIO MCP server runs locally as a child process, using the API token you specify.
You can either install the Jira/Atlassian server in the IBM Bob Marketplace, which configures it for you, or you can configure it manually by adding (or updating) the mcp.json file in your workspace .bob/mcp.json:
{
"mcpServers": {
"jira": {
"command": "npx",
"args": ["-y", "<your-org-approved-atlassian-mcp-package>"],
"env": {
"JIRA_URL": "https://your-domain.atlassian.net",
"JIRA_EMAIL": "you@yourbank.com",
"JIRA_API_TOKEN": "your_api_token"
},
"alwaysAllow": []
}
}
}
Security note: The mcp.json file stores env values in plain text. Add .bob/mcp.json to .gitignore and use a package that can read JIRA_API_TOKEN from your existing OS keychain/secrets manager rather than writing it inline. Leave alwaysAllow empty. Jira issue creation and transitions should require explicit approval every time.
Using a remote Atlassian-hosted MCP server
If your organization uses Atlassian's hosted remote MCP endpoint, connect to it over HTTPS using MCP OAuth authentication instead of running anything locally. Configure it manually by adding (or updating) the mcp.json file in your workspace .bob/mcp.json:
{
"mcpServers": {
"jira": {
"type": "streamable-http",
"url": "https://your-atlassian-mcp-endpoint.example.com/mcp",
"headers": {
"Authorization": "Bearer <token from your org's OAuth flow>"
},
"alwaysAllow": []
}
}
}
Remote servers must meet the same security bar as any other production infrastructure that your organization connects to: authenticated, encrypted in transit, access-controlled, and auditable.
Step 2. Add a workspace rule for ticket traceability
Before mapping the user stories, set a custom workspace rule so that Bob always asks for a ticket reference. Be sure to give an example ticket key for your configuration, so Bob understands your conventions.
Create .bob/rules/jira-tracking.md:
- Before starting any code change, ask the developer for the associated Jira ticket number if one isn't provided.
- Include the ticket key (e.g., PROJ-1234) in commit messages and PR descriptions.
- Never create, transition, or close a Jira ticket without explicit developer confirmation of the exact fields.
- Never auto-approve production or database ticket creation. Always show the draft ticket for review first.
- Never transition a Jira ticket to "Approved", "Deploying", or "Done" on the production workflow without the developer confirming that a human approver has already recorded their approval in the ticket.
This rule applies across all modes and gives you the audit hook that the first user story needs.
Step 3. Start every piece of work from a Jira ticket
With the MCP connection active and the traceability rule in place, use IBM Bob to read the ticket before touching any code. This step builds the audit trail automatically.
Open Bob's chat panel and type, specifying your ticket key instead of PROJ-1234:
Read the acceptance criteria and description from PROJ-1234.Bob calls the Jira MCP server, fetches the issue, and prints the Summary, Description, and Acceptance Criteria fields directly in chat. Nothing leaves your machine through a browser session; the call goes through the MCP server by using the API token you configured.
Ask Bob to create a branch name that embeds the ticket key (in this case, PROJ-1234):
Suggest a Git branch name for PROJ-1234 that follows our naming convention: feature/<ticket-key>-<short-slug>.Bob returns a branch name such as
feature/PROJ-1234-add-payment-retry-logic. Copy it and run:git checkout -b feature/PROJ-1234-add-payment-retry-logicAsk Bob to summarize the acceptance criteria as a checklist that you can paste into your editor or PR later:
Turn the acceptance criteria from PROJ-1234 into a Markdown checklist.Save Bob's output. You use it in Step 4 when you write the PR description.
Why this matters in a regulated environment: The ticket key in the branch name ties every commit on that branch back to the approved change record. Auditors and change-management tools (for example, Jira's built-in development panel or a GitLab/GitHub integration) can follow that link automatically without anyone assembling the trace by hand.
Step 4. Write PR descriptions and traceability checklists from ticket data
A peer-reviewed PR is the last code-quality gate before any merge. In financial services, the PR description itself is often part of the audit package: reviewers need to see what ticket approved the change, what was tested, and what regulatory controls apply.
When your code changes are ready to stage, ask Bob to draft the PR description:
Draft a pull request description for the changes on branch feature/PROJ-1234-add-payment-retry-logic. Use the acceptance criteria and description from Jira ticket PROJ-1234. Include a traceability section that links back to the ticket.Bob reads the ticket data it already fetched (or re-fetches it) and produces a structured description with sections such as Summary of changes, Jira ticket, Acceptance criteria met, and Testing notes.
Ask Bob to add a regulatory controls checklist that is relevant to your team's standards. For example:
Add a peer-review checklist to the PR description that covers: - No hardcoded credentials - Input validation present - Unit tests cover the happy path and at least one failure path - No direct database writes outside the data-access layer - Change linked to an approved Jira ticketBob inserts the checklist as unchecked boxes at the bottom of the PR description.
Review the complete draft of the PR in chat. When you are satisfied, copy it into your version-control platform's PR creation form. Do not ask Bob to open or submit the PR automatically; the act of raising the PR, choosing reviewers, and merging remains a human action so that the four-eyes principle (requiring a second human approval) stays intact.
Security note: Bob can read and draft; it should not have write access to your Git hosting platform. Keep your GitHub/GitLab personal access token out of Bob's MCP configuration.
Step 5. Create infrastructure and database change tickets
Changes to infrastructure (Kubernetes configs, Terraform, cloud networking) and to databases (schema migrations, stored procedures, data fixes) almost always require a separate change record in Jira, with fields that differ from a standard feature ticket (approval levels, risk rating, rollback plan, and maintenance window are common additions).
Infrastructure change tickets
Ask Bob to read an existing approved infrastructure change ticket to understand the required fields for your project:
Read Jira ticket INFRA-456 and list every field that is filled in, including any custom fields.Bob returns the field list. Note which fields are mandatory in your project template.
Ask Bob to draft a new infrastructure change ticket for the work you are about to do. For example:
Draft a Jira ticket for the INFRA project to cover a Kubernetes resource-limit change for the payments service. Use the same fields as INFRA-456. Set Risk to Medium, include a rollback plan, and link it as "relates to" PROJ-1234.Bob produces a draft with all fields populated. Review the draft carefully, especially the risk rating and rollback plan, before proceeding.
Confirm the draft and ask Bob to create it:
Create that ticket in Jira.Bob shows you the exact API call it is about to make and asks for your explicit confirmation (because
alwaysAllowis empty). Approve it. Bob returns the new ticket key, for exampleINFRA-789.
Database change tickets
For schema or data changes, ask Bob to draft using the database-change template your team uses:
Draft a Jira ticket in the DB-CHANGE project for adding a nullable `retry_count` column to the `payments` table. Include: change type (DDL), environment, maintenance window, rollback script, and DBA approval required set to Yes. Link it to PROJ-1234.Review the draft. Pay close attention to:
- Rollback script — Bob generates a plausible inverse DDL, but you must verify it against the actual migration.
- DBA approval required — If your project marks this field mandatory, confirm that Bob sets it to
Yesbefore creating the ticket.
Confirm and create the Jira ticket, then note the returned ticket key (for example
DBC-321). Add bothINFRA-789andDBC-321to your feature branch PR description from Step 4.
Step 6. Transition tickets through regulated approval stages
Transitioning a Jira ticket, moving it from In Progress to In Review, from Approved to Deploying, or from Deploying to Done, is one of the most sensitive actions in a regulated workflow. Some transitions are routine and Bob can assist; others must remain entirely outside Bob's authority.
Transitions that Bob can assist with
Ask Bob to list the available transitions for a ticket:
What transitions are available for PROJ-1234 right now?Bob calls the Jira transitions API and lists the valid next states and their IDs.
For a routine status move (for example, moving your ticket to In Review when you raise the PR), ask Bob to perform it:
Transition PROJ-1234 to "In Review".Bob shows you the transition it is about to apply and asks for confirmation. Approve it.
Similarly, once the PR is merged and tested in a lower environment:
Transition PROJ-1234 to "Ready for Release".Review and approve.
Transitions Bob must never perform
The following transitions must be initiated and approved by a human with the appropriate Jira permission, not by Bob, and not on Bob's recommendation alone:
| Transition | Reason |
|---|---|
| Approved > Deploying (production) | Requires Change Advisory Board (CAB) or equivalent sign-off. The approval lives as a Jira comment or approval record, not just a state change. |
| Deploying > Done (production) | Confirms the change landed in production. This must be a human attestation, not an automated close. |
| Reopen on a closed change | Reopening a closed change record is a controlled event in most audit frameworks. |
If you ask Bob to perform one of these transitions, Bob declines and explains why, provided the traceability rule from Step 2 is in place. Step 2 already specifies an explicit rule to reinforce this in .bob/rules/jira-tracking.md.
Step 7. Generate sprint compliance evidence from Jira
At the end of a sprint, regulated teams typically need to produce evidence that all in-scope tickets were completed, reviewed, and linked to their change records, without manually copying rows from Jira into a spreadsheet.
Ask Bob to query the sprint's completed tickets:
List all tickets in the PROJ project that were completed in Sprint 42. For each ticket include: key, summary, assignee, resolution date, and any linked tickets.Bob calls Jira's search API (JQL under the hood) and returns the results in a structured list.
Ask Bob to produce a compliance evidence table:
Format those results as a Markdown table with columns: Ticket, Summary, Assignee, Resolved, Linked change records.Bob outputs the table. You can paste it directly into your sprint review document, compliance management tool, or internal wiki.
For a more targeted audit check, such as verifying that every completed ticket has a linked PR, ask:
From the Sprint 42 results, identify any tickets that have no linked pull request or no linked infrastructure/database change ticket.Bob highlights the gaps. Resolve each gap (add the missing link in Jira) before signing off the sprint.
If your team requires a sign-off document, ask Bob to draft one:
Draft a sprint compliance sign-off summary for Sprint 42 in PROJ. Include: sprint goal, total tickets completed, tickets with open defects, and a statement that all changes were linked to approved Jira tickets.Review the draft. The sign-off statement itself must be reviewed and countersigned by a human — typically the delivery lead or compliance officer. Bob produces the draft; a person submits it.
Tip: Save the JQL queries Bob used (they appear in its tool-call output) so that you can rerun the same report at the start of every sprint review without re-prompting Bob from scratch.
Summary
In this article, you learned how to integrate Bob with Jira by using Model Context Protocol (MCP) servers to streamline and safeguard developer workflows in regulated environments. By combining MCP tools with workspace traceability rules, you can:
- Enforce audit trails effortlessly: Link requirements, branch names, commit messages, and PR descriptions directly to approved Jira tickets without tedious manual context switching.
- Maintain segregation of duties (SoD) and compliance guardrails: Safely draft infrastructure and database change tickets while keeping high-risk state transitions and final deployment approvals strictly in human hands.
- Accelerate compliance reporting: Automate the collection and verification of sprint evidence to ensure every delivered change is fully documented and traceable.
Connecting IBM Bob to a developer's systems of record provides a more productive workflow while adhering to governance, accountability, and security standards.