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 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,117 views 0 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