Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue collector

Siyanda Mfazwe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 23, 2023

Hi everyone, please assist. I get this error when I try get the JS script for my issue collector.
abc.png





and this is the code that I get


abcd.png

Your assistance is greatly appreciated.

1 answer

0 votes
Michael DiRenzo
Contributor
February 6, 2024

I cannot see the error.

Your issue may be related to a content security provider header.  Otherwise, your code looks sound.  Please let me suggest an alternative with your implementation:

window.ATL_JQ_PAGE_PROPS = AJS.$.extend(window.ATL_JQ_PAGE_PROPS,{ 
  triggerFunction : function( showCollectorDialog ) 
  {
  $("#menu-items").on("click", ".issue", function(e) {   

Note: the use of "AJS" .  I am also using "$" for my jquery reference

 

I reference all my includes in a separate HTML widget to keep the entire page neat.  You should also refence DEV tools in your browser -> console to see any errors that might be occurring. 

 

Good luck.

 

-Mike

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events