It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Multi Custom issue collectors in Conlfuence Edited

When I'm trying to add multiple custom issue collectors to a confluence page using an image to trigger the collector form on the page.
I can get it working no problem with just one issue collector, however no matter how I ad the second image and issue collector only one image will work at that point.

I've read the Advanced use of the JIRA issue collector documentation and it does go over adding them as regular issue collector but not as custom so I'm struggling to get the code to work properly. Below is a sample code I use for one collector inside of the HTML macro in confluence. That code I use on different pages with different issue collectors because I can't get them to work all together on one page.

When I try to add another "script type" and "input type" above the "<script type="text/javascript">window.ATL_JQ_PAGE_PROPS = {" line of code as suggested in this community answer ( it doesn't seem to work. Any suggestions?

I know you all don't support code necessarily but If I could just get the correct format then maybe I can work with it.

<!DOCTYPE html>

<input type ="image" src="" height="120" width="120" id="Option2"></input>

<script type="text/javascript" src=""></script>

<script type="text/javascript">window.ATL_JQ_PAGE_PROPS = {

//=== Option 2 ===
'9299a31b' :{
"triggerFunction": function(showCollectorDialog) {
jQuery("#Option2").click(function(e) {
// ==== we add the code below to set the field values ====
fieldValues: {
summary : 'New Project Request – Mirror Existing Configuration',
description : 'Project Name: [The name of your project]\r\nProject Key: [A one-word unique identifier for your project (limit is 10 alpha characters). If none is provided, the default key is auto-created using the first letter of the Project Name provided above.]\r\nProject Lead: [Main point of contact for the project, if not requester]\r\nProject Administrator(s): [Project administrators can add additional users to roles, administer project boards, etc.]\r\nProject Settings: [Provide the URL or the Project Key of the MyJira project we should mirror]'



1 answer

1 accepted

0 votes
Answer accepted

Hi Jeremy,

Thank you for contacting us about this. I noticed you raised the same question with the support team, but then you closed the issue yesterday and marked it as resolved.

Can you let us know what the solution was? It could help other users in the future.



The solution to this issue was adding all three issue collectors inside of the one HTML macro. The set up/script format that we used is listed below. 




<table id="test" style ="margin-left:auto;margin-right:auto;">
  <td><b>Default Project</b></td>
  <td><b>Mirror Existing Project</b></td>
  <td><b>Custom Project</b></td>
<!-- Default -->
  <td align="center"> <input type ="image" src="https://yourinstanceID/download/thumbnails/419150305/default.png?version=1&modificationDate=1570199094890&api=v2" height="120" width="120" id="Option1"></input>

<script type="text/javascript" src="https://yourinstanceID/s/c4667e564d068f525dd8aaba4c655792-T/en_US52t8i1/6341/3/1.4.16/_/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?locale=en-US&collectorId=b68bc359"></script>

<!-- Mirror -->  
  <td align="center"> <input type ="image" src="https://yourinstanceID/download/thumbnails/419150305/mirror.png?version=1&modificationDate=1570199094890&api=v2" height="120" width="120" id="Option2"></input>

<script type="text/javascript" src="https://yourinstanceID/s/c4667e564d068f525dd8aaba4c655792-T/en_US52t8i1/6341/3/1.4.16/_/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?locale=en-US&collectorId=9299a31b"></script>

<!-- Custom -->  
  <td align="center"> <input type ="image" src="https://yourinstanceID/download/thumbnails/419150305/custom.png?version=1&modificationDate=1570199094890&api=v2" height="120" width="120" id="Option3"></input>

<script type="text/javascript" src="https://yourinstanceIDfv/s/c4667e564d068f525dd8aaba4c655792-T/en_US52t8i1/6341/3/1.4.16/_/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?locale=en-US&collectorId=2d13673b"></script>

<!-- Scripts for each collector -->

<script type="text/javascript">window.ATL_JQ_PAGE_PROPS = {
Like Shannon_Spaniol likes this


That's great, thank you for sharing that with us! That should surely help if anyone is looking to add multiple issue collectors in the future.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 8
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you