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.
The following is a step-by-step procedure to create a REST plugin to expose the getProjectCategories
method:
Add the Maven dependencies require for REST to the
pom.xml
file. This will be automatically added, if you use the Atlassian plugin SDK to create the module:<dependency> <groupId>javax.ws.rs</groupId> <artifactId...