Code Help Needed

lennon_x December 7, 2012
<action name="com.iad.validator.MyPlugin" alias="EditIssue">
        
		<view name="error">/secure/views/issue/editissue.jsp</view>
        <view name="input">/secure/views/issue/editissue.jsp</view>
        <view name="issue-permission-error">/issue-permission-error.jsp</view>
    </action>

MyPlugin class extends the EditIssue class and adds some validation.And it works perfectly fine.....

<action name="com.iad.validator.Myplg" alias="QuickEditIssue">

<view name="error">/templates/error-json.vm</view>

<view name="json">/templates/fields-json.vm</view>

</action>

Myplg class extends QuickEditIssue class and it cannot somehow override it??????

No compiling errors(have imported everything thats required).

Added the necessary dependencies such as 'jira-quick-edit-plugin' and others.

Can we not extend the class of a plugin in the same as we do for a class in the Jira API????

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
AgentSmith
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 26, 2012

Greetings!

We have documented the process as to how to extend your plugin's class. Please review this information and respond with any questions:

https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Adding+Content+to+the+JIRA+View+Issue+Page

Cheers,

Jason | Atlassian

TAGS
AUG Leaders

Atlassian Community Events