It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use modified .tag files with Fisheye/Crucible

Hi I want to modify the html output of my Fisheye/Crucible instance, I have the source license, in particular I want to edit the header, so I've found and modified content/WEB-INF/tags/cru/masthead.tag, I've placed this file in my $FISHEYE_INST/content/WEB-INF/tags/cru/ folder, I've tried flushing from the administrator panel, and looking to see if there was a web cache (there was not), and tried restarting Fisheye. In none of these cases are my changes applied. I have found a compiled version of this tag file shipping in lib/, do I need to precompile this tag somehow and replace it in the zip for it to take effect? Any help here would be appreciated, its important we change the header for this program.


1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted

Going to answer my own question here.. I resolved this with the help of Seb Ruiz (thanks!), the issue was you must use the full source distribution to be able to edit the tags, you cannot install the normal distribution and just unzip the specific tag file on top of it and edit that file.

Hi David,

Can you explain little more as to how I can compile modified masthead.tag file under FISHEYE_INST/content/WEB-INF/tags/cru/masthead.tag?


Hi Kiron, you don't actually need to compile it, you need to install Fisheye/Crucible from the source distribution (not the regular distribution), then you can just edit the file and see the changes live. Does that make sense? In my original attempt I had installed Fisheye/Crucible normally, then downloaded the source distribution and installed only the single file I needed (masthead.tag), but it wasn't picked up because the normal distribution uses a compiled version of those files. So the solution was to delete my installed Fisheye/Crucible and replace it with the source, then everything worked.

Hi David,

That worked and thank you very much. Now another question.. when I updated .css files I don't see that they are there a special way to add css classes to the existing .css files?

Thanks in advance

Hmm not sure on that one as I haven't tried, but they may be getting cached, did you try restarting the server?

I did try restarting server...but no luck

It's actually a lot easier to write a plugin for fisheye and then use JS to change the styles, or css and override the styles.

Ya not sure then, best suggestion I can make is to look at the CSS being returned to you in the browser then try and find the corresponding file(s) in the filesystem that are generating it (check the data directory too), and try and change them.

It's a massive pain to do this with FE. The css files get concatenated and then gzipped. You need to make sure the file that you changed gets into the gz file.

Hi David,

If you know can you please tell as to how I can get the project link for jira that is configured as applink in fisheye..from masthead.tag file?

No idea off hand, sorry, our use case was limited to styling elements not any programming.

Community showcase
Published in Opsgenie

Authentication Options for Atlassian’s Opsgenie

What’s New as of May 21, 2020 Hi there! We recently made some changes to the way you can leverage Single-sign on and authorization within Opsgenie. Based on customer preference and feedback we intr...

87 views 1 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you