This is the documentation for FishEye 3.2. View the latest version of

Unknown macro: {spacejump}

or visit the latest FishEye documentation home page.

With some command line scripting and a tool like wget, and Live HTTP Headers for firefox you can automate actions. In this example, Fisheye will automatically rescan revision properties of an SVN when the commit message is updated to reference a new JIRA issue.

  1. Enable live HTTP headers in firefox, then perform the action you want to perform automatically via the Fisheye Adminstration UI.
  2. In the live HTTP headers window you should see some output similar to the following:
  3. The important parts are the URL I've highlighted above (http://erdinger.sydney.atlassian.com/fisheye/admin/indexMaint.do) and any GET/POST parameters (startRev=0&endRev=58&rep=2&action=rescan)
  4. Now we can construct a script with wget to automate this:
    wget --keep-session-cookies --save-cookies cookie.txt http://erdinger.sydney.atlassian.com/fisheye/admin/login.do --post-data="origUrl=&adminPassword=admin"
    wget --load-cookies cookie.txt --post-data="startRev=0&endRev=58&rep=2&action=rescan" http://erdinger.sydney.atlassian.com/fisheye/admin/indexMaint.do
    

With that you could generate a post-revprop-change hook in svn that will update the repositories automatically.