Part of our custom integration between VersionOne and BugZilla requires a user to click on a bookmarklet when on a VersionOne item page to "push" the item to BugZilla. This bookmarklet scrapes the ticket id and opens a new Browser window/tab with the URL of the integration web application that allows the user to review the field mappings and confirm. Here is how the bookmarklet looks like:

javascript:var%20m=location.href.match(/(?:\?|\&)AssetContext=Issue%253a(\d+)/);var%20h='http://v1bz.com/v12bz.phpid='%20+%20m[1];%20window.open(h,%20'v1bz');

The downside to the bookmarklet approach is that each user has to add this to their bookmarks and requires multiple clicks to use. What would really be ideal is that VersionOne allowed configuration of a custom UI Action button based on Item/page type and let the Admin. specify the action in form of JavaScript code.

Comments