Plugin for IssueNavigator - is it possible ?

Hi Guys.

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.

Regards

Mik

3 answers

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

On the other hand: https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+JIRA+Issue+CRUD+and+Search

0 vote

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

https://marketplace.atlassian.com/plugins/com.valiantys.jira.plugins.SQLFeed

but unfortunatelly it's working wrong me, becouse this one sort over custom field values but I need order by labels.

Thaks

Regards

Mik

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)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,338 views 14 20
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot