How get field's schema in the plugin (not through REST API)?

Vital Yeutukhovich February 27, 2015

REST API returns me something like:

 {
        "id": "description",
        "name": "Description",
        "custom": false,
        "orderable": true,
        "navigable": true,
        "searchable": true,
        "schema": {
            "type": "string",
            "system": "description"
        }
    }

How get field's schema in the plugin (not through REST API)?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2015

I'm a little confused - that appears to be a JIRA field you are looking at, not Confluence (which doesn't really have fields).  Could you confirm the system?

Also, when you say "not through REST", you mean you want to use the internal APIs, so you are writing a plugin to be installed in the system (not a Connect plugin)?

Vital Yeutukhovich February 27, 2015

Sorry for my mistakes. I correct my question.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2015

I pick the wrong tags a lot as well! Just needed to be clear. So, when you say a fields "schema", what do you actually want to know about the field? Is it stuff like how the field is searched and displayed, or where it is used in Jira?

Vital Yeutukhovich February 27, 2015

I need to get the same information as via REST, but through internal APIs.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2015
Vital Yeutukhovich February 28, 2015

Thanks, but I haven't found the right methods to get the necessary information

TAGS
AUG Leaders

Atlassian Community Events