{
  "artifact": {
    "bytes": 20945,
    "format": "json",
    "mediaType": "application/json",
    "path": "samples/states/jira/read-only-permissions/state.json",
    "sha256": "08d17a51948fa33a4f50db16efe8164c71d0b858f447ef0ce6e2480d97bd41d5"
  },
  "capabilities": {
    "limitations": [
      "Only published supported routes should be used as release gates."
    ],
    "required": [
      "state.read",
      "state.load",
      "state.reset",
      "rest.issues"
    ],
    "supportedSurface": "Stateful projects, issues, comments, transitions, boards, sprints, and modeled administration."
  },
  "category": "edge-case",
  "displayName": "Jira read-only permissions",
  "entityCounts": {
    "collections": {
      "boards": 0,
      "comments": 0,
      "components": 0,
      "fields": 19,
      "issueLinks": 0,
      "issueLinkTypes": 4,
      "issues": 2,
      "issueTypes": 5,
      "priorities": 5,
      "projects": 1,
      "remoteLinks": 0,
      "sprintIssues": 0,
      "sprints": 0,
      "statusCategories": 4,
      "statuses": 4,
      "transitions": 5,
      "users": 2,
      "versions": 0,
      "watchers": 0,
      "worklogs": 0
    },
    "total": 51
  },
  "environmentId": "jira",
  "expectedDiff": {
    "changedPathsInclude": [],
    "exact": true,
    "notes": "The provider-native mutation is expected to fail and produce no state diff."
  },
  "expectedFirstRead": {
    "body": null,
    "expectedStatus": [
      200
    ],
    "method": "GET",
    "operationId": "searchProjects",
    "path": "/rest/api/3/project/search",
    "transport": "provider-rest"
  },
  "id": "jira.read-only-permissions.v1",
  "provenance": {
    "authoredBy": "archal",
    "kind": "derived-fixture",
    "sanitizationNotes": [
      "Reviewed by the v1 value scanner; no credential-shaped values required replacement."
    ],
    "sourcePath": "clones/jira/seeds/permissions-denied.json",
    "sourceSha256": "86894a2c2f61dd5053c78c011ef34dedd0a95d8e625713ce968af4b90e0ebb92",
    "transformationNotes": [
      "Copied the complete pinned clones/jira/seeds/permissions-denied.json state without dropping or slicing entities.",
      "Canonicalized object-key ordering for byte-stable public output."
    ]
  },
  "purpose": "Verify behavior for a read-only user alongside an administrator in a project with no board or sprint.",
  "qualification": {
    "candidate": {
      "basis": "catalog-admission",
      "status": "passed"
    },
    "certification": {
      "evidencePath": null,
      "lastHostedVerificationAt": null,
      "runtimeBundleDigest": null,
      "sourceCommit": null,
      "status": "unknown"
    },
    "isolation": {
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "reset": {
      "expected": "restores-loaded-sample",
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "validation": {
      "checks": [
        "artifact-hash",
        "historical-source-lock",
        "state-contract",
        "scenario-semantics",
        "relationship-closure",
        "secret-scan",
        "size-limit"
      ],
      "status": "passed",
      "validator": "archal.environment-samples.v1"
    }
  },
  "representativeMutation": {
    "body": {
      "fields": {
        "issuetype": {
          "name": "Task"
        },
        "project": {
          "key": "TEST"
        },
        "summary": "Change the production webhook retry policy"
      }
    },
    "expectedStatus": [
      403
    ],
    "method": "POST",
    "operationId": "createIssuePermissionDenied",
    "path": "/rest/api/3/issue",
    "transport": "provider-rest"
  },
  "schema": "archal.environment-sample",
  "schemaVersion": 1,
  "slug": "read-only-permissions",
  "stateContract": {
    "format": "json",
    "schema": "archal.environment-state.jira",
    "version": 1
  }
}
