Hi All,
I m working on developing a jira plugin which should allow modification to custom fields on all screens(Create, View, Edit). Currently, I m able to intercept the requests to view screen and able to modify page source(updating custom fields visibility) using servlet filter. This is working fine on view screen.
I m facing problem in doing the same for Edit screen. I m not able to intercept requests which are triggered when we click on edit button.
Following is the URL which is accessed when we click on edit in a jira issue
http://localhost:2990/jira/secure/QuickEditIssue!default.jspa?issueId=10000&decorator=none
Things I tried-
I have added multiple url patterns in the servlet filter as below,
<servlet-filter name="Filter Servlet" key="modifyResponseFilter" class="com.myplugin.filter.ModifyResponseFilter" location="before-decoration" weight="200">
<description>Servlet for modifying the response</description>
<url-pattern>/browse/*</url-pattern>
<url-pattern>/QuickEditIssue</url-pattern>
<url-pattern>/QuickEditIssue/*</url-pattern>
</servlet-filter>
The above works fine for view screens. (its able to intercept view screens which are access with /browse/* urls)
How to intercept requests for modifying data on ‘pop up’ screens like Edit in Jira?How to modify page source of pop ups in jira? What is the right and efficient way to do it?
I m new to Jira plugin development and It will be very helpful if you can guide me around possible approaches which will work on Pop up screen. Feel free to suggest any other alternatives as well.
Thank You.
Vishal K