I am working in JIRA 6.0.7. I would like to develop a plug-in that would show up as a bulk operation available for issue navigator search results? Is there a specific module I need to choose to accomplish this? Thanks!
Community moderators have prevented the ability to post new answers.
Here's the steps I had to take to implement bulk operations in Jira 6.2.4.
Detailed instructions for all these steps could take pages, and unfortunately I don't have the time for that. So let us know if you have any specific questions about them.
Hi, I just started to implement a plugin for adding a new operation in "Bulk Change". Your steps are very useful, but I have two requests: 1. Can you please describe what is needed to define in atlassian-plugin.xml? (an example would be very useful). 2. Where is the linkage between the created operation and the webwork done? Thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Valentin Borlea. You have to define: 1. <component> module with AbstractBulkOperation inheritor class 2. <webwork1> module with action to call bulkoperation methods.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let me extend the answer above with my findings:
ComponentAccessor.getBulkOperationManager().addBulkOperation(MyOperationClass.NAME_KEY, MyOperationClass.class);
protected MyActionClass()
{
super(null, ComponentManager.getComponentInstanceOfType(BulkEditBeanSessionHelper.class));
genericBulkWatchOperation = ComponentAccessor.getBulkOperationManager().getOperation(NAME_KEY);
}
<webwork1 key="key" name="name" class="java.lang.Object">
<actions>
<action name="path to action class" alias="Action">
<command name="details" alias="ActionDetails">
<view name="success">/secure/views/bulkedit/bulkchooseoperation.jsp</view>
<view name="input">/secure/views/bulkedit/bulkActiondetails.jsp</view>
<view name="error">/secure/views/bulkedit/bulkchooseoperation.jsp</view>
</command>
<command name="detailsValidation" alias="ActionDetailsValidation">
<view name="input">/secure/views/bulkedit/bulkActionconfirmation.jsp</view>
<view name="error">/secure/views/bulkedit/bulkActionconfirmation.jsp</view>
</command>
<command name="perform" alias="ActionPerform">
<view name="error">/secure/views/bulkedit/bulkActionerror.jsp</view>
</command>
</action>
</actions>
</webwork1>
JSP files cannot be embedded in plugin, I deployed them to /secure/views/bulkedit
Basically I took WatchIssue operation files and did it analogically. Lot of research behind this one but it finally worked. If you have any answers feel free to ask.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.