Community moderators have prevented the ability to post new answers.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this feature request that you are looking for?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Things have moved on in the last 5 years...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So where should we look now if we need help with this in 2017?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I understand this right, it means that the modification of the issue view screen will be applied for all projects?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can edit velocity templates to edit screen layouts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this can be done up to a certain level with CSS.
CSS code can be written inside field descriptions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not without modifying the relevant jsps and templates. That is an option though!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.