Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Custom Issue Views in Jira

Jörg Godau July 8, 2013

How do I create new views to be added to the "Views" button at the top right of each issue? (defaults are XML, Word and Printable)

I need to be able to create and select a view with a subset of fields for some issues.

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Jörg Godau July 24, 2013

After a very painful interaction with Atlassian Support (https://support.atlassian.com/browse/JSP-166209), I have been told that

the "Views" issue feature for the issue is controlled by the Issue Views Plugin via Administrations > Manage Add-Ons > System Plugins .

The Plugin Key is "jira.issueviews". As reference, you might want to take a look into the <tt>JIRA_Install/atlassian-jira/WEB-INF/classes/system-issueviews-plugin.xml</tt>

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 24, 2013

We can't see JSP issues raised by other people. Glad you managed to find it though, and thanks for the pointer, another one for my bookmarks.

Omprakash Thamsetty
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 31, 2018

@Jörg Godau Did you get this done by modifying system-issueviews-plugin.xml file. I also looking to add one like this. I know its too old but if you find anything please let me know . Its great help for me. 

Like Kuuashiko likes this
0 votes
Midori
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2014

Hi Jörg,

The plugin module type you are looking for is called "single-issue-view", just Google for it.

If you wanted to choose an easier path to achieve your goal, use the PDF View Plugin. Your problem of exporting only a subset of the fields can be easily solved, as this plugin renders template-driven PDF documents, so you just change the fields in the template and you are done.

See the Template Development page in the plugin documentation.

0 votes
Jörg Godau July 8, 2013

What I want to do is to extend the functionality of the button "Views" (View this issue in another format) on the Issue page itself.

I do not want to alter views in search results or lists, only on the issue itself.

We are currently running Jira 5.1.x but will be upgrading to the current version 6 in the near future.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 8, 2013

Create a view module add-on/plugin for it.

The module you need is https://developer.atlassian.com/display/JIRADEV/Search+Request+View+Plugin+Module but you probably want to skim https://developer.atlassian.com/display/JIRADEV/JIRA+Plugin+Guide from the top for a view on how to write plugins if you've not tried before.

Jörg Godau July 8, 2013

Hi Nic,

I don't want to add views to the search requests/results, but to the issue itself.

This (https://developer.atlassian.com/display/JIRADEV/Search+Request+View+Plugin+Module ) doesn't seem to be what I'm looking for...

Cheers

Jack...

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 8, 2013

Oops, sorry, I misunderstood that.

I know you can do this, but I've not done it since Jira 4.0 and I think the structure has changed. I can't find a precise link for you (hopefully someone else will read this and know!), but it's a similar principle - plugin to add a new block of code.

I *think* you need a web-fragment for Jira 5 and 6 - https://developer.atlassian.com/display/JIRADEV/Web+Fragments - but I'm really not sure

Jörg Godau July 8, 2013

The View Issue Page Locations (https://developer.atlassian.com/display/JIRADEV/View+Issue+Page+Locations) seems to include all the parts of the View Issues page, appart from the one I want to extend.

Hopefully someone else can point me at the right place.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events