> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the Jira config

> Which projects sync, each project's rules (its type, how an issue finds its account, issue-type filters and field mappings), the default field mappings and the issue-link setting. `version` is 0 when it was never saved.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/integrations/jira/config
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/jira/config:
    get:
      tags:
        - integrations
      summary: Get the Jira config
      description: >-
        Which projects sync, each project's rules (its type, how an issue finds
        its account, issue-type filters and field mappings), the default field
        mappings and the issue-link setting. `version` is 0 when it was never
        saved.
      operationId: integrations_jira_get_config
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JiraConfig'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    JiraConfig:
      description: >-
        Jira's settings, as saved. Each setting has the shape that PATCH /config
        takes.
      properties:
        field_whitelist:
          additionalProperties: true
          description: Default field mappings for every project
          title: Field Whitelist
          type: object
        project_keys:
          description: The Jira projects that sync
          items:
            type: string
          title: Project Keys
          type: array
        project_rules:
          description: >-
            Per project: its type, how an issue finds its account, issue-type
            filters and field mappings
          items:
            additionalProperties: true
            type: object
          title: Project Rules
          type: array
        site_base_url:
          anyOf:
            - type: string
            - type: 'null'
          description: The Jira site the issue links point to
          title: Site Base Url
        sync:
          anyOf:
            - $ref: '#/components/schemas/JiraFirstSyncs'
            - type: 'null'
          description: 'Set by a change: the first syncs it started'
        sync_issue_link:
          description: Write each issue's Jira link onto its task
          title: Sync Issue Link
          type: boolean
        version:
          description: >-
            The config's version: send it as `expected_version` with a change (0
            = never saved)
          title: Version
          type: integer
      required:
        - version
        - project_keys
        - field_whitelist
        - project_rules
        - sync_issue_link
        - site_base_url
      title: JiraConfig
      type: object
    JiraFirstSyncs:
      properties:
        message:
          anyOf:
            - type: string
            - type: 'null'
          description: Why the not_started syncs did not start
          title: Message
        not_started:
          description: Project keys whose first sync was refused
          items:
            type: string
          title: Not Started
          type: array
        started:
          description: Project keys whose 30-day first sync started
          items:
            type: string
          title: Started
          type: array
      required:
        - started
        - not_started
        - message
      title: JiraFirstSyncs
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.