> ## 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.

# Fetch sample Jira issues

> The most recently updated issues of a project, optionally by issue type, with a few fields by label, so you can see what a resolver can read. Writes nothing. Needs integrations:write: the issues are Jira data. Calls Jira through Paragon: a 502 when Jira refuses or does not answer.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/integrations/jira/sample-issues
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/sample-issues:
    post:
      tags:
        - integrations
      summary: Fetch sample Jira issues
      description: >-
        The most recently updated issues of a project, optionally by issue type,
        with a few fields by label, so you can see what a resolver can read.
        Writes nothing. Needs integrations:write: the issues are Jira data.
        Calls Jira through Paragon: a 502 when Jira refuses or does not answer.
      operationId: integrations_jira_sample_issues
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                issue_types:
                  description: 'Only these issue type names (50 at most); empty: all'
                  items:
                    maxLength: 255
                    minLength: 1
                    type: string
                  maxItems: 50
                  title: Issue Types
                  type: array
                project_key:
                  description: The project key, from /projects
                  pattern: ^[A-Z][A-Z0-9]{1,49}$
                  title: Project Key
                  type: string
                sample_size:
                  default: 5
                  description: How many recent issues
                  maximum: 25
                  minimum: 1
                  title: Sample Size
                  type: integer
              required:
                - project_key
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JiraSampleIssues'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    JiraSampleIssues:
      properties:
        data:
          description: 'Recent issues: key, summary, type, status and a few fields by label'
          items:
            additionalProperties: true
            type: object
          title: Data
          type: array
      required:
        - data
      title: JiraSampleIssues
      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.