Is it possible to edit the issue view screen layout?

I mean not only the order of fields, but the way of how the fields and sections are disposed on the issue view screen.

10 answers

1 accepted

Hey Jason,

In 5.1 we started porting code from JSPs to web-panels. We completed this work during 5.2. Each block on the view-issue page is now a plugin. This gives us a lot more flexibility.

Under jira-components/jira-plugins lives a plugin - jira-view-issue-plugin.

In this plugin there are a number of web-panels defined. You can either update this plugin and upload your new version, or create a new web-panel and disable the old one you want to replace.

These panels are displayed in 2 columns (As specified by the location) and ordered by the weight.

Hope this helps.

Cheers,

Nick Menere

JIRA Engineering Manager

Hi Nick,

I looked around and couldn't find any references to 'jira-components', however I took what I know about jira and looked in <jira_data_folder>/plugins/.bundled-plugins and I was able to find a "jira-view-issue-plugin-5.2.jar".

We will take a look into that and hopefully it's the same thing you were describing.

For JIRA 5.2.x to 6.2.7 you may follow the instructions on J-trick's tutorial: http://www.j-tricks.com/1/post/2012/05/modifying-atlassian-bundled-plugins.html From JIRA 6.3 onwards, the jira-view-issue-plugin JAR can be found on the JIRA_INSTALL/atlassian-jira/WEB-INF/atlassian-bundled-plugins folder.

Hi Nick, I have problem in reordering a third-part plugin (named structuremodule in the view issue screen) I can easily reorder all other components using the jira-view-issue-plugin, but the structure plugin must be probably modified from its own jar file. and changing all the weights found in its manifest file didn't help. Do you have any idea, how the third-party plugins are placed in the view issue page? I greatly appreciate any help. Thank you.

Is this feature request that you are looking for?

https://jira.atlassian.com/browse/JRA-9802

Great:

This issue can't be viewed

The issue you're trying to view can't be displayed.
It may have been deleted or you don't have permission to view it right now.

Things have moved on in the last 5 years...

So where should we look now if we need help with this in 2017?

Still that Atlassian JIRA install, but the message is the same - Atlassian have no plans to make it more flexible, so you're into hacking it.  (And it's going to change a lot on Cloud)

Jason,

Sorry, I was referring to the source build. It ultimately gets packaged into the jar file you mention. You defintely could edit, the *.vm files or the css in that file and repackage.

Plesae try Jobin's tutorials, http://www.j-tricks.com/1/post/2012/05/modifying-atlassian-bundled-plugins.html, it has a clean way on how to hack this.

0 votes

Not without modifying the relevant jsps and templates. That is an option though!

I think this can be done up to a certain level with CSS.

CSS code can be written inside field descriptions.

You can edit velocity templates to edit screen layouts.

Interested in this as well, knew where the files were in 5.x but cannot find them now in 5.2.

Does anyone know where the templates I need to edit are now in 5.2?

0 votes
Colin Goudie Community Champion Nov 29, 2012

Hey Nick, sort of related to this. In JIRA 5.1.7 what would be your suggestion for the quickest way to ensure a wider 1st column in the id="issuedetails" ul.?

One of our client instances has some large customfield values and I think the right hand side (class="item item-right") is pushing the left side too small, cutting off the custom field names.

Thanks

If I understand this right, it means that the modification of the issue view screen will be applied for all projects?

Correct - there is only one definition of each way to look at an issue.

You could write code that displays differently by project, but it'll be a bit of a mess - think about the issue navigator as an example. If a user runs a filter for two different projects that you've decided to display differently, then as they page through the results, the formats are going to change, which is disjointing and confusing.

In other words, stick with one layout for your system.

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 ...

2,893 views 12 18
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