context to Schema mapping

Issue #58 closed
Yuval Zaltz created an issue

Is there a way (in Rest or other method) to get the mapping between a custom field Context and Schema?

Comments (8)

  1. Yury Oboz repo owner

    Is there enough data?

    GET <jirasite>/rest/treecf/1.0/admin/context

    [
      {
        "type": "multi",
        "id": "customfield_10001",
        "name": "Multi",
        "description": null,
        "contexts": [
          {
            "fieldConfigSchemeId": 10202,
            "name": "Default Configuration Scheme for Multi",
            "treeSchema": {
              "id": 7,
              "name": "Test"
            }
          }
        ]
      },
      {
        "type": "single",
        "id": "customfield_10000",
        "name": "Single",
        "description": "",
        "contexts": [
          {
            "fieldConfigSchemeId": 10201,
            "name": "Default Configuration Scheme for Single",
            "treeSchema": {
              "id": 7,
              "name": "Test"
            }
          }
        ]
      }
    ]
    

  2. Log in to comment