Jira JDVP plugin 2.0 and higher won't do AJAX lookup

I am using the Jira Database Values plugin for several custom fields. We are on Jira 5.1. After upgrading the plugin to 3.0, the AJAX search no longer works. I suspect it may be related to the HTML for the rendering.editpattern. I've also tried this on my test Jira which is on 5.2. Results are:

JDVP 1.4 - works fine.

JDVP 2.0 - broken.

JDVP 3.0 - broken.

Here is my rendering.editpattern:

{0}<span class="informal" style="color: grey;"><br />Title: {2}</span><span class="informal" style="color: grey;"><br />Status: {4} / Visit Date: {5}</span><span class="informal" style="color: grey;"><br />Owner: {3} / Tower Id: {1}</span>

It used to show the ID field (field 0) in the text box, and the AJAX list showed the other fields nicely formatted. But now it looks like the picture:

Anyone have any ideas?

If it helps, the HTML being rendered in the broken version looks like this:

<input aria-haspopup="true" aria-autocomplete="list" role="textbox"
    autocomplete="off" id="databasevalues_customfield_10920" name=
    "_customfield_10920" class="ui-autocomplete-input" size="50" value=
    "29896<span class=\" style="\"color:" type="text"><br>
    Title: AL0036 - Coker Site Audit 1<span class="\"informal\""
    style="\"color:"><br>
    Status: Closed / Visit Date: 11/08/2012</span><span class=
    "\"informal\"" style="\"color:"><br>
    Owner: Kim Koesy / Tower Id: AL0036</span>"/>

Thanks!

2 answers

1 accepted

1 vote
Accepted answer

The plugin developer has fixed all these issues as of plugin version 3.2, available at https://bitbucket.org/wimdeblauwe/jdvp/src/69cbf7aa1e2a443ca04817ff1216e21e42027918/releases/?at=master

We tested extensively with multiple fields in Jira 6.2 and it's working great now. Note however that more elaborate HTML in the view/edit patterns may not work anymore (specifically span tags). We were able to use italic and bold tags along with line breaks to get the effect we wanted.

Dear John,

we are having issues with a custom field not populating/not doing the AJAX lookup using the Database Values Plugin when creating issues from the dashboard or project summary screen. We are also using the plugin version 3.2 and Jira 6.2. Do you have the same issues?

Best regards,

Chris

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Software

Implementing Jira in Small Business

Introduction This article will give insight on how a small software development department implemented Atlassian products to enhance and streamline the business process. The privately held company h...

300 views 2 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you