Skip to content

dlinsin/Polarion-Issues-Ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Polarion Issues Ext

A Safari Extension which extracts information from a ticket of a Polarion system and adds it to a GitHub issue.

Written by David Linsin, July 2012.

Installation

Download the latest version of the Safari Extension and double click to install it.

Usage

  1. Open a new Tab and navigate to any Polarion ticket. Navigate to the print view, which you can find in the Action menu:

Print Menu

Cancel the printer dialog and right click anywhere in order to bring up the context menu item Copy Polarion Info. Clicking it will extract the following information:

  • ID
  • Title
  • Description
  • Type
  • Author
  • Priority
  • Severity
  • Error Version
  • Target OS
  • Repair Version
  • Creation Date
  • Url

Alternatively, after canceling the printer dialog, you can use the keyboard shortcut SHIFT+CTRL+P to extract the information directly.

  1. Create a new GitHub Issue and bring up the context menu by right clicking anywhere on the site. Click on the menu item Add Polarion Info which will set the following Polarion infos:
  • the issues title to ID + title
  • a block quote containing the information mentioned above and the ID as a link to the URL of the original Polarion ticket

Alternatively you can use the keyboard shortcut SHIFT+CTRL+O to add the information to the new issue directly.

Known Issues

General

Polarion can be customized and the fields extracted here might not suit your needs. You can easily customize them by adopting dataFields_en in the file injected.js.

At the moment the only language supported is English. If you'd like to contribute another language, please open a pull request.

GitHub Issue Submit Button

Under some circumstances the Submit new Issue button on a GitHub issue might stay disabled after inserting the Polarion information. As a workaround, you can simply add any character to the title of the issue, that's the reason why it's being focused right after insertion.

Issues and Feature Requests

Please report issues via GitHub's issue tracker.

License

Polarion Issues Ext is licensed under the Apache 2 License, expect for shortcuts.js which is licenses under BSD and cvi_busy_lib.js which is under the Netzgestade Non-commercial Software License Agreement.

About

Safari Extension extracting information from a Polarion ticket and adds it to a GitHub issue

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors