|
A Quip list is:
a) amateurish b) completely useless c) bloat Anton,
Yes. With the ability to add to the list. For many coming from bugzilla, it's the #1 feature. Zach,
Please do not presume that what is appropriate and good for your environment is completely congruent with our environment. One of our corporate objectives is to have a "Great Place to Work," and the quips in bugzilla are one of those little things that makes our environment more fun, and people really appreciate it. I wouldn't go trying to gainsay your feature requests. Thanks for the update.
When we implement this feature we will definitely make it configurable so it will be possible to turn it off. Please bare with us as we are trying ot get through a list of features that have become very popular: Thanks, This feature serves as a simple blog for developers. At our company we enjoy throwing in some of the better quotes from our peers and have accumulated an impressive list that we'd like to maintain in Jira. It would be great if this feature could be added.
Here's one way to do this using the existing Announcement Banner and a bit of the ol' Web 2.0 pixie dust. First export your quips from the Bugzilla database with "select quip, profiles.realname from quips,profiles where quips.userid=profiles.userid;" and paste the results into into a file
<local jira base>/atlassian-jira/quips/quips.txt. Then, for beauty, remove the start and end | characters from each line, and change remaining | to -, or some such separator. Spaces are ignored as the text is treated as HTML. Next split this file up into multiple files named quip00, quip01,..., one file per quote using something like: split -a2 -l1 -d quips.txt quip (The a2 is for 2 digit identifiers.) Then edit your Announcement Banner (Admin, Options and Settings) and paste the following text in, hit Save, and you should see a random quip appear. You will need to set the numberQuips variable to the number of quips you have locally (I know, this is tedious to maintain). Adding quips is a matter of adding the new files to the Jira server; there's no nice approval mechanism with this approach. <!--Cut and paste below here --> <script type="text/javascript"> /***********************************************
var loadedobjects="" function ajaxpage(url, containerid){ function loadpage(page_request, containerid){ if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)) document.getElementById(containerid).innerHTML=page_request.responseText } function loadobjs(){ // This will load the given URL, which has a suffix added above, into the named div element <div id="quip"></div>
Matt - I'll share an idea with you that might allow users to upload files directly through JIRA. Create an issue in some admin project of some sort. Add an attachment to the issue. It will create a file on the server with a specific path/name that you can then refer to instead of <local jira base>/atlassian-jira/quips/quips.txt. Nic Brough suggested this approach in the forum That's a cool idea! Then what would be needed is a way to choose a file at random from the directory. I guess that means finding a way to list the contents of a server-side directory, create an array and choose an entry at random, then retrieve the URL. I'll leave that for someone else to do
You can also change the style of the quip nicely with <style type="text/css"> |
||||||||||||||||||||||||||||||||||||||||||||||||
If I understand the Quip list correctly, it would show a random message from the list everytime a search is performed. Is this so?
Thanks,
Anton