I have downloaded the most recent beta version of the JIRA Issue Collector and installed it onto our JIRA 4.4.4 I was wondering how do get the javascript it mentions on the page (https://plugins.atlassian.com/plugins/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin) to help create the trigger in the web application?
Community moderators have prevented the ability to post new answers.
Once you installed the application in JIRA, you can go to any project's administration and find the "Issue Collector" tab. You can start configuring your collector and once submitted, JIRA will provide you the HTML code you can embed in your web application.
ok i have the code and tried a simple test but all it did was download but all it did was download a javascript file, is there more to this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where did you put this code, and can you provide the full code here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Our simple test to paste the code insode into an html file to see if it will work with the jquery files imported to it, the code looked like this:
<html> <head> <script src="/jquery-ui-1.8.20.custom/js/jquery-1.7.2.min.js"></script> <script> $.ajax({ url: "http://ohcolvmd0002v10.nwie.net/s/en_US9zvrva/664/2/1.0.23-beta/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=3af7bc04", type: "get", cache: true, dataType: "script" }); </script> </head> </body> </body> </html>
When we run this is just downloads a javascript file with some javascript funciton in it. Is this process more involve then simply copy'n paste or do we need to write this functions out in this code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this was the embedded code provided to me after we configured the collector
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you just pasted it into an html file, you'll need to specify the full URI for jquery, eg http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just a quick not i did notice the space at the beginning of the script src i fixed that and tried again with no luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well we are going to be putting it into jsp's once we understand how it is suppose to work properly. I changed the script import to this:
<html> <head> <script src=" http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script> $.ajax({ url: "http://ohcolvmd0002v10.nwie.net/s/en_US9zvrva/664/2/1.0.23-beta/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=3af7bc04", type: "get", cache: true, dataType: "script" }); </script> </head> </body> </body> </html>
Then when that just got an activex blocker and then did nothing after i allowed it. so thinking that it was activating the script i did this
<html> <head> <script src=" http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script> window.onload = jQuery.ajax({ url: "http://ohcolvmd0002v10.nwie.net/s/en_US9zvrva/664/2/1.0.23-beta/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=3af7bc04", type: "get", cache: true, dataType: "script" }); </script> </head> </body> </body> </html>
and the same thing happened as before, any ideas? Note I am rusty with html at the moment.so if I made an error please correct me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try other web browser? Perhaps, it's an IE-specific issue? Also, did you try the snippet for embedding directly in HTML, instead of an existing Javascript resource?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.