View Issue Details Block customisation on atlassian bundled plugins

I need to edit the view of the details block section of View Issue page on JIRA 5.2.2. Hence i modified detailsblock.vm file of jira-view-issue-plugin-5.2.2.jar which is bundled in

I modified the detailsblock.vm file and recreated the jar and bundled in the zip file. Now i am able to see the changes i have made but in the logs i see the following exceptions.

2013-01-18 20:14:22,854 localhost-startStop-1 ERROR [plugin.osgi.factory.OsgiPlugin] Detected an error (BundleException) enabling the plugin 'com.atlassian.jira.plugin.ext.bamboo' : Unresolved constraint in bundle com.atlassian.jira.plugins.jira-bamboo-plugin [63]: Unable to resolve 63.0: missing requirement [63.0] package; (package=com.atlassian.jira.plugin.viewissue.issuelink). This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see

Please find the attached exception for more information. (bundledexception.txt)

How to resolve this?

4 answers

This widget could not be displayed.

Did you change the version of the plugin? Or change any packages inside it?

I have not changed any other files. I modified detailsblock.vm file only.

Error points to missing package: com.atlassian.jira.plugin.viewissue.issuelink

Yes but i did not understand that. Can you give me some pointers about where the issue could be?

As a last resort, try inline editing using 7-zip in Windows. This will avoid any issue or other tampering with jar.

This widget could not be displayed.

Are you sure Srini that you didnt change any other files? Are you very sure :)

Looks dumb to suggest this. Can you compare the output of the unzip -l command for the original bundled zip and the modified one?

Yes Renjith, I just changed only one file and repacked the contents.

This widget could not be displayed.

If the plugin isn't loading, it's likely mispacked; ergo, please try to recompile it using jar -c. If that doesn't do the trick, I would recommend injecting it directly into your <jira-home>/installed-plugins folder and then starting JIRA back up.

Could you please let me know which plugin you mean to inject into <jira-home>/installed-plugins location?

This widget could not be displayed.

I had the same problem. Don't recreate JAR package. Use -u option:

jar uf jira-view-issue-plugin-X.X.X.jar viewissue/detailsblock.vm

Then, recreate ZIP package with that JAR.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

148 views 2 0
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