I'm using Jira 5.2.3
Is it possible writte plugin for issue navigaror, where I can in my Java code, catch
List<Issue> and jql query
and make some changes on this list programmaticaly ?
Thanks a lot.
You can actually avoid the hassle of writing custom code by using JIRA's built-in bulk change functionality, and it works on a per-filter basis as you require: https://confluence.atlassian.com/display/JIRA/Modifying+Multiple+('Bulk')+Issues
The issue navigator is a view of a filter.
You probably don't really want to try to change that, as you'll confuse your users - "I put in filter X and it's not displaying it right". You've also got the problem that the navigator is the result, so it's rendered after the filter has executed to find issues.
It's also not really that useful to say "list <issue> and JQL query". To get your list of issues, you need to run a JQL query already.
Anyway, what you could do quite easily is to create a new "view" plugin for the navigator (like RSS, XML, Excel etc). In one of those you are free to do what you like, so you could take your list of issues (from a filter the user has) and when they click on the alternate view, add your extra clauses to their query before displaying it.
Hi Guys, thanks for yours answers, this is very valueable.
I would like ask you about, what do you think about changes in orginal Issue Navigator plugin.
I have downloaded source code and analize it right now.
This is what I need to do is provide own sort, maybee comparator for some types of customfield.
I am using nFeed plugin
but unfortunatelly it's working wrong me, becouse this one sort over custom field values but I need order by labels.
I really would not mess with the original issue navigator - you'll make it unsupportable and it won't match documentation and so-on.
I'm not quite sure exactly what you are aiming to do here, but if it is just about sorting, then yes, you can write a plugin that will sort associated fields in whatever way you want. This won't affect the core of the issue navigator at all, so it's likely to be a far more simple solution (and supportable too)
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG