How exactly do you use the advanced field options (window.ATL_JQ_PAGE_PROPS) in the Issue Collector plugin?

Gareth Hughes July 9, 2012

Hi,

I'm trying to use the advanced field options for the Issue Collector plugin as documented here

https://bitbucket.org/atlassian/jira-issue-collector-plugin/wiki/Home

but can't make it work.

I'm not alone in this:

https://bitbucket.org/atlassian/jira-issue-collector-plugin/issue/19/the-feature-to-prefill-fields-using

I have embedded the following in a page but all I ever get is

TypeError A.extend is not a function

I know nothing about jQuery so please don't make assumptions.

<script src="/logon2/Javascript/jquery-1.7.1.min.js" type="text/javascript"></script>
<script type="text/javascript"> jQuery.noConflict(); window.ATL_JQ_PAGE_PROPS = jQuery.extend(window.ATL_JQ_PAGE_PROPS, { "environment":{ "JIRA Footer Version": jQuery("#quicklinks").text() }, "fieldValues": { "description":"This is an issue created via a collector!" } }); jQuery.ajax({ url: "https://SERVER.jira.com/s/en_US-f89bnl/767/87/1.1/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector-embededjs.js?collectorId=3c250c22", type: "get", cache: true, dataType: "script" }); </script>

When I remove the window.ATL block it works just fine but I really want to do some funky automatic field filling.

This is Jira Studio 5.1-rc7 and Collector plugin 1.1

(This functionality was made available to us on the weekend in an upgrade)

thanks a lot

1 answer

0 votes
Frank Hamand August 16, 2012

I have exactly the same problem

Suggest an answer

Log in or Sign up to answer