Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more
MCP Atlassian can calculate SLA metrics for Jira issues using the jira_get_issue_sla and jira_get_issue_dates tools. This guide covers configuration and usage.
# Enable working hours filteringJIRA_SLA_WORKING_HOURS_ONLY=true# Define business hours (24-hour format)JIRA_SLA_WORKING_HOURS_START=09:00JIRA_SLA_WORKING_HOURS_END=17:00# Working days (1=Monday, 7=Sunday)JIRA_SLA_WORKING_DAYS=1,2,3,4,5
# Calculate cycle time and time-in-statusJIRA_SLA_METRICS=cycle_time,time_in_status,lead_time# Count only business hoursJIRA_SLA_WORKING_HOURS_ONLY=trueJIRA_SLA_WORKING_HOURS_START=09:00JIRA_SLA_WORKING_HOURS_END=17:00JIRA_SLA_WORKING_DAYS=1,2,3,4,5# US Eastern timezoneJIRA_SLA_TIMEZONE=America/New_York
Start with cycle_time and time_in_status — these are the most commonly useful metrics for sprint retrospectives and process improvement.
SLA calculations use issue changelog data. For accurate metrics, ensure issues follow consistent status transitions in your workflow.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MCP Atlassian","colors":{"primary":"#0052CC","light":"#4C9AFF","dark":"#0747A6"},"favicon":"https://mintcdn.com/personal-1d37018d/xqbEVGwfF9hSUkwo/docs/favicon.svg?fit=max\u0026auto=format\u0026n=xqbEVGwfF9hSUkwo\u0026q=85\u0026s=93be5ddf9b0c62fde5d38586844ae6d4","seo":{},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"personal-1d37018d","hasAudioNarration":false,"actualSubdomain":"personal-1d37018d","customDomains":["mcp-atlassian.soomiles.com"],"gitSource":{"type":"github","owner":"sooperset","repo":"mcp-atlassian","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af29327ed12bb486eff1d6f","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"Jira Tools","count":8},{"language":"default","tag":"Confluence Tools","count":6},{"language":"default","tag":"Advanced","count":4},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Usage","count":2},{"language":"default","tag":"Help","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"docs/advanced/sla-metrics","slug":"/docs/advanced/sla-metrics","pageMetadata":{"title":"SLA Metrics","description":"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more","href":"/docs/advanced/sla-metrics"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`MCP Atlassian can calculate SLA metrics for Jira issues using the `,_jsx(_components.code,{children:`jira_get_issue_sla`}),` and `,_jsx(_components.code,{children:`jira_get_issue_dates`}),` tools. This guide covers configuration and usage.`]}),`\n`,_jsx(Heading,{level:`2`,id:`available-metrics`,children:`Available Metrics`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Metric`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cycle_time`})}),_jsx(_components.td,{children:`Time from first “In Progress” to resolution`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lead_time`})}),_jsx(_components.td,{children:`Time from creation to resolution`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`time_in_status`})}),_jsx(_components.td,{children:`Breakdown of time spent in each status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`due_date_compliance`})}),_jsx(_components.td,{children:`Whether issues were resolved before their due date`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`resolution_time`})}),_jsx(_components.td,{children:`Total time from creation to resolution`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`first_response_time`})}),_jsx(_components.td,{children:`Time from creation to first comment or status change`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`configuration`,children:`Configuration`}),`\n`,_jsx(_components.p,{children:`Configure SLA calculation via environment variables:`}),`\n`,_jsx(Heading,{level:`3`,id:`metrics-selection`,children:`Metrics Selection`}),`\n`,_jsx(_components.p,{children:`Choose which metrics to calculate (comma-separated):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_METRICS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`cycle_time,time_in_status`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Default: `,_jsx(_components.code,{children:`cycle_time,time_in_status`})]}),`\n`,_jsx(Heading,{level:`3`,id:`working-hours`,children:`Working Hours`}),`\n`,_jsx(_components.p,{children:`Enable business-hours-only calculation:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Enable working hours filtering`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_HOURS_ONLY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Define business hours (24-hour format)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_HOURS_START`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`09:00`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_HOURS_END`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`17:00`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Working days (1=Monday, 7=Sunday)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_DAYS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`1,2,3,4,5`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`timezone`,children:`Timezone`}),`\n`,_jsx(_components.p,{children:`Set the timezone for SLA calculations:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_TIMEZONE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`America/New_York`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Uses IANA timezone identifiers. Default: `,_jsx(_components.code,{children:`UTC`})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Common timezones:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Timezone`}),_jsx(_components.th,{children:`Identifier`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`US Eastern`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`America/New_York`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`US Pacific`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`America/Los_Angeles`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`UK`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Europe/London`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Central Europe`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Europe/Berlin`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Japan`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Asia/Tokyo`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Australia Eastern`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Australia/Sydney`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(Heading,{level:`3`,id:`get-sla-metrics-for-an-issue`,children:`Get SLA Metrics for an Issue`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`jira_get_issue_sla: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issue_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROJ-123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metrics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cycle_time,time_in_status,lead_time\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`get-key-dates`,children:`Get Key Dates`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`jira_get_issue_dates: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issue_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROJ-123\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Returns creation date, resolution date, due date, and status transition timestamps.`}),`\n`,_jsx(Heading,{level:`3`,id:`get-development-info`,children:`Get Development Info`}),`\n`,_jsx(_components.p,{children:`Track linked branches, commits, and PRs:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`jira_get_issue_development_info: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issue_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROJ-123\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`batch-development-info`,children:`Batch Development Info`}),`\n`,_jsx(_components.p,{children:`Get development info for multiple issues:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`jira_get_issues_development_info: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"issue_keys\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROJ-1,PROJ-2,PROJ-3\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-configuration`,children:`Example Configuration`}),`\n`,_jsx(_components.p,{children:`A typical production SLA configuration:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Calculate cycle time and time-in-status`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_METRICS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`cycle_time,time_in_status,lead_time`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Count only business hours`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_HOURS_ONLY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_HOURS_START`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`09:00`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_HOURS_END`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`17:00`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_WORKING_DAYS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`1,2,3,4,5`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# US Eastern timezone`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`JIRA_SLA_TIMEZONE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`America/New_York`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Start with `,_jsx(_components.code,{children:`cycle_time`}),` and `,_jsx(_components.code,{children:`time_in_status`}),` — these are the most commonly useful metrics for sprint retrospectives and process improvement.`]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`SLA calculations use issue changelog data. For accurate metrics, ensure issues follow consistent status transitions in your workflow.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"SLA Metrics","description":"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more","href":"/docs/advanced/sla-metrics"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Available Metrics","slug":"available-metrics","depth":2,"children":[]},{"title":"Configuration","slug":"configuration","depth":2,"children":[{"title":"Metrics Selection","slug":"metrics-selection","depth":3,"children":[]},{"title":"Working Hours","slug":"working-hours","depth":3,"children":[]},{"title":"Timezone","slug":"timezone","depth":3,"children":[]}]},{"title":"Usage","slug":"usage","depth":2,"children":[{"title":"Get SLA Metrics for an Issue","slug":"get-sla-metrics-for-an-issue","depth":3,"children":[]},{"title":"Get Key Dates","slug":"get-key-dates","depth":3,"children":[]},{"title":"Get Development Info","slug":"get-development-info","depth":3,"children":[]},{"title":"Batch Development Info","slug":"batch-development-info","depth":3,"children":[]}]},{"title":"Example Configuration","slug":"example-configuration","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"personal-1d37018d","siteName":"MCP Atlassian","title":"SLA Metrics - MCP Atlassian","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-26T01:22:05.416Z","originalFileLocation":"docs/advanced/sla-metrics.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more\">\u003cmeta data-mint-head name=\"application-name\" content=\"MCP Atlassian\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"SLA Metrics - MCP Atlassian\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MCP Atlassian\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://personal-1d37018d.mintlify.site/_mintlify/api/og/v2?division=Advanced\u0026amp;title=SLA+Metrics\u0026amp;description=Configure+and+use+SLA+metrics+for+Jira+issues+%E2%80%94+cycle+time%2C+lead+time%2C+time-in-status%2C+and+more\u0026amp;theme=432d10deeecae5d94bc6f889\u0026amp;signature=89fcd6eacc3ba9dbba27adf0d6ff12b60f63baa55c604e86d96283653ef85b27\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"SLA Metrics - MCP Atlassian\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://personal-1d37018d.mintlify.site/_mintlify/api/og/v2?division=Advanced\u0026amp;title=SLA+Metrics\u0026amp;description=Configure+and+use+SLA+metrics+for+Jira+issues+%E2%80%94+cycle+time%2C+lead+time%2C+time-in-status%2C+and+more\u0026amp;theme=432d10deeecae5d94bc6f889\u0026amp;signature=89fcd6eacc3ba9dbba27adf0d6ff12b60f63baa55c604e86d96283653ef85b27\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/personal-1d37018d/P8lOR-8WfTlUYbEq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MCP Atlassian\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0052CC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/advanced/sla-metrics.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mcp-atlassian.soomiles.com/#organization\",\"name\":\"MCP Atlassian\",\"url\":\"https://mcp-atlassian.soomiles.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://mcp-atlassian.soomiles.com#website\",\"name\":\"MCP Atlassian\",\"url\":\"https://mcp-atlassian.soomiles.com\",\"publisher\":{\"@id\":\"https://mcp-atlassian.soomiles.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics#webpage\",\"url\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics\",\"name\":\"SLA Metrics\",\"description\":\"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more\",\"dateModified\":\"2026-02-26T01:22:05.416Z\",\"isPartOf\":{\"@id\":\"https://mcp-atlassian.soomiles.com#website\"},\"breadcrumb\":{\"@id\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced\",\"item\":\"https://mcp-atlassian.soomiles.com/docs/http-transport\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SLA Metrics\",\"item\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics#article\",\"headline\":\"SLA Metrics\",\"name\":\"SLA Metrics\",\"description\":\"Configure and use SLA metrics for Jira issues — cycle time, lead time, time-in-status, and more\",\"url\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics\",\"mainEntityOfPage\":{\"@id\":\"https://mcp-atlassian.soomiles.com/docs/advanced/sla-metrics#webpage\"},\"dateModified\":\"2026-02-26T01:22:05.416Z\",\"publisher\":{\"@id\":\"https://mcp-atlassian.soomiles.com/#organization\"},\"isPartOf\":{\"@id\":\"https://mcp-atlassian.soomiles.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MCP Atlassian\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MCP Atlassian\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/advanced/sla-metrics.md","siteName":"MCP Atlassian","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"MCP Atlassian","href":"/docs"},{"title":"Installation","href":"/docs/installation"},{"title":"Authentication","href":"/docs/authentication"}]},{"group":"Usage","pages":[{"title":"Configuration","href":"/docs/configuration"},{"title":"Tools Reference","href":"/docs/tools-reference"}]},{"group":"Guides","pages":[{"title":"JQL Guide","href":"/docs/guides/jql-guide"},{"title":"CQL Guide","href":"/docs/guides/cql-guide"},{"title":"Common Workflows","href":"/docs/guides/common-workflows"}]},{"group":"Jira Tools","pages":[{"title":"Jira Issues","href":"/docs/tools/jira-issues"},{"title":"Jira Search \u0026 Fields","href":"/docs/tools/jira-search-fields"},{"title":"Jira Agile","href":"/docs/tools/jira-agile"},{"title":"Jira Comments \u0026 Worklogs","href":"/docs/tools/jira-comments-worklogs"},{"title":"Jira Links \u0026 Versions","href":"/docs/tools/jira-links-versions"},{"title":"Jira Attachments","href":"/docs/tools/jira-attachments"},{"title":"Jira Service Desk","href":"/docs/tools/jira-service-desk"},{"title":"Jira Forms \u0026 Metrics","href":"/docs/tools/jira-forms-metrics"}]},{"group":"Confluence Tools","pages":[{"title":"Confluence Pages","href":"/docs/tools/confluence-pages"},{"title":"Confluence Search","href":"/docs/tools/confluence-search"},{"title":"Confluence Attachments","href":"/docs/tools/confluence-attachments"},{"title":"Confluence Comments \u0026 Labels","href":"/docs/tools/confluence-comments"},{"title":"Confluence Permissions","href":"/docs/tools/confluence-permissions"},{"title":"Confluence Templates","href":"/docs/tools/confluence-templates"}]},{"group":"Advanced","pages":[{"title":"HTTP Transport","href":"/docs/http-transport"},{"title":"AI Platform Compatibility","description":"Platform compatibility matrix — Claude Desktop, Cursor, Cline, and Cloud vs Server/DC feature comparison","href":"/docs/compatibility"},{"title":"SLA Metrics","href":"/docs/advanced/sla-metrics"},{"title":"Docker Deployment","description":"Deploy MCP Atlassian with Docker for production — Compose examples, health checks, and Kubernetes notes","href":"/docs/advanced/docker-production"}]},{"group":"Help","pages":[{"title":"Troubleshooting","href":"/docs/troubleshooting"}]}]}]},"basePath":"","title":"SLA Metrics - MCP Atlassian","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":[],"chunks":[]}