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

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

I have exactly the same problem

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,919 views 19 22
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