Exposing services and data entities as REST APIs
So far, we have seen various REST APIs to perform different operations in JIRA. What about operations that are not supported by REST? That little something which prevents you from integrating JIRA with your third-party app? That is where the REST plugin module type comes handy. Using the REST plugin module, services or data can be exposed to the outside world.
In this recipe, we will see how to expose the
getProjectCategories method we have used as examples in the previous recipes using the REST interface.
Create a skeleton plugin using the Atlassian plugin SDK.
How to do it...
The following is a step-by-step procedure to create a REST plugin to expose the