We all know how useful a servlet is! JIRA provides an easy way to deploy a JAVA servlet with the help of the Servlet plugin module. In this recipe, we will see how to write a simple servlet and access it in JIRA.
Following are the steps required to deploy a JAVA servlet in JIRA:
Include the servlet plugin module in the
atlassian-plugin.xml file
. The Servlet plugin module allows the following set of attributes:a. class: This is the servlet Java class and it must be a subclass of
javax.servlet.http.HttpServlet
. This attribute is mandatory.b. disabled: This indicates whether the plugin module should be disabled or enabled by default. By default, the module is enabled.
c. i18n-name-key: This is the localization key for the human-readable name of the plugin module.
d. key: This represents the unique key for the plugin module. This attribute is mandatory.
e. name: This is the human-readable...