How to change blocks order in view issue page layout?

ArtUrlWWW March 29, 2017

Hello.

I want to change view issue page (http://jira:8080/browse/DIASOFT-502) layout - I want to move "Attachments" block above "Description" block on that page.

I've tried to change fields order in "Configure Screen" (tried to move Attachment field to the first position), but this change affected only Edit Issue screen layout, but not View Issue screen layout. Both of them used the same screen "Software Development Default Issue Screen".

How to change blocks order in View Issue page layout?

Thank you!

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
cptBarbosa
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.
March 29, 2017

Hi, Arthur.

How are you?

If I understood you right, follow these instructions:

  1. Go to your project settings, on the left menu select Screens
    Screen Shot 2017-03-29 at 10.28.02 AM.png
  2. Then select wich issue type you want to change the screen and click on the pencil to edit.
  3. Click on the *Default Issue Screen* 
    Screen Shot 2017-03-29 at 10.28.26 AM.png

It should redirect you to the page that allows you to change the order of the fields, note that this will change for creating, view and edit screen. If you want to change only one of those you have to select it specifically.

 

Hope it helps. smile

ArtUrlWWW March 29, 2017

Hi.

I have already tried that - "I've tried to change fields order in "Configure Screen" (tried to move Attachment field to the first position), but this change affected only Edit Issue screen layout, but not View Issue screen layout. Both of them used the same screen "Software Development Default Issue Screen"."

 

But on the issue view page (http://jira.vkab.ru:8080/browse/DIASOFT-502) "Attachments" block is still under the "Description" block:

image2017-3-29 16:46:2.png

cptBarbosa
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.
March 29, 2017

Then maybe this should help you Configuring Fields and Screens.

Other than that I would suggest you open a ticket with Atlassian support.

ArtUrlWWW March 29, 2017

"Configuring Fields and Screens" - it is same, what we are talking about now. I have moved it:

image2017-3-29 17:10:47.png

But still no effect on view issue page... (

ArtUrlWWW March 29, 2017

That option changed only the Edit issue:

image2017-3-29 17:12:45.png

cptBarbosa
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.
March 29, 2017

If you open my first screenshot in a new tab you will see it better, there you can see that there are 3 kinds: create, edit and view. even changing it there you're still can't show it properly?

ArtUrlWWW March 29, 2017

What am I doing:

  1. Settings - Projects (http://jira.vkab.ru:8080/secure/project/ViewProjects.jspa)
  2. Selected project (http://jira.vkab.ru:8080/plugins/servlet/project-config/DIASOFT/summary)
  3. Selected Screens (http://jira.vkab.ru:8080/plugins/servlet/project-config/DIASOFT/screens)
  4. Clicked on "Software Development Default Issue Screen" near "Edit Issue". 
  5. On the opened "Configure Screen" page (http://jira.vkab.ru:8080/secure/admin/ConfigureFieldScreen.jspa?id=10000) I've dragged "Attachment" to the top of the list.
  6. Checked again view issue page (http://jira.vkab.ru:8080/browse/DIASOFT-502) - "Attachments" block still under the "Description" block. sad
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.
March 29, 2017

The sectional layout in the issue view screen is controlled by code, not field layouts.

You will need to hack the core code to rearrange that view.

ArtUrlWWW March 29, 2017

OK, what template file contains view of the View Issue Page? I tried to find it in *.jsp files of JIRA on the server, but still not found that file.

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.
March 29, 2017

Depends on the version, but assuming a more recent one, you'll need to:

  • download the source for the  system issue views add-on (a lot of JIRA is packaged as add-ons)
  • amend that (not just one simple template, there's a load of files that work together inside the add-on)
  • recompile it 
  • add it back into your install, replacing the "system" one.
TAGS
AUG Leaders

Atlassian Community Events