Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

How to override webpanel detail-module in jira issue detail page?

Dang Thi Thuy Tien
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.
September 7, 2018

Hi,

I'm having a trouble when trying to custom the Jira's issue detail page.

Usually, the issue detail page, we have a link to view the workflow's graphic.

Now I

Screen Shot 2018-09-07 at 5.04.12 PM.pngThat web-panel has the id="details-module". Now I want to replace that web-panel by my custom tom web-panel. So I added this to atlassian-plugin.xml.

 


<web-panel
key="details-module" system="true" location="atl.jira.view.issue.left.context" weight="100">
<context-provider class="jira.plugin.viewissue.DetailsBlockContextProvider"/>
<resource name="view" type="velocity" location="/templates/jira/plugin/viewissue/detailsblock.vm"/>
<label key="viewissue.subheading.issuedetails"/>
</web-panel> 

 Some how when I run it, the default web panel still appear above of my custom web panel, like this:

Screen Shot 2018-09-07 at 4.58.03 PM.png

I can write some Javascript code to hide the first web-panel but it's just a workaround and sometimes it doesn't work. 

Is there any way to hide the Jira's default web-panel?

 

Any help would be apprecieated.

 

1 answer

0 votes
Aleksandr Zuevich
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.
September 7, 2018

Hi,

I suppose you can modify \atlassian-jira\WEB-INF\atlassian-bundled-plugins\jira-view-issue-plugin-7.9.2.jar\atlassian-plugin.xml and delete web-panel module with details-module key. But it's also some kind of workaround and it's required additional attention during Jira updates.

Dang Thi Thuy Tien
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.
January 10, 2019

Thank you @Aleksandr Zuevich

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events