Virgil with JIRA 5

Kevin O'Brien ADMIN April 9, 2012

Just curious to see if any JIRA 5 users out there had used Virgil (http://blogs.atlassian.com/2011/09/introducing_virgil_v2/) successfully. Seems that the new method of creating issues breaks it.

2 answers

1 accepted

1 vote
Answer accepted
Faisal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2012

Hi Kobrien,

Thanks for bringing this issue to our attention. Actually it is true that the current Virgil version partially breaks in JIRA 5, whereby it will not work in the Quick Create/Edit dialog. However, Virgil will work as usual if we go to the normal Create Issue screen (http://host:port/secure/CreateIssue.jspa).

This issue arise because the current Virgil code will only run when a page is loading and the JavaSciprt detects the document/page title as "Create Issue":

    AJS.$(document).ready(function()
    {
        //some pages in SAC that have summary field, aren't "create issue" screen - quit the app
        if(!getDocumentTitle().match(/^\s*Create Issue/))
        {
            console.log("Wrong page - quitting.");
            return;
        } 

However in JIRA 5, the Quick Create/Edit dialog uses AJAX when popping up on the dashboard, and Virgil is not able to detect this dialog screen at the moment. As a result, no suggestion from Virgil will appear in the Quick Create/Edit dialog, since the code is not running at the first place.

We are currently aware of this limitation, and are looking forward to update Virgil to make it compatible with JIRA 5. Should there be any updates on the matter, we will keep you informed about it.

Thanks again for your feedback on the matter.

Cheers,
Ahmad

Kevin O'Brien ADMIN April 19, 2012

Thanks, Ahmad! Looking forward to that update. Virgil has helped us reduce redundant tickets being created.

Cheers,

Kevin

0 votes
AhmadDanial
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 24, 2012

Hey there, Kobrien.

Something that might be of your interest.

https://jira.atlassian.com/browse/JRA-31083

Warm regards,

Danial

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events