Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events