Forums

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

Want users to click button to open issue collector instead of hard-to-see Prominent, Subtle, or vert

Matthew Pettengill
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!
January 28, 2020

Hello,

I want our business users to click "Raise a request" so the issue collector window will appear on the page. Currently, the users need to click on the bottom right hand corner of the screen because I've selected the "Subtle" trigger style for my issue collector. This works fine, but it's not easy for users to see. 

I have attempted to add the following to an HTML macro on my Confluence page. The button appears at the bottom of the page (because that's where the HTML macro is). When I click the button it just moves back to the top of the page instead of the issue collector opening. 
---------------------------
ref="#" id="myCustomTrigger" class="aui-button aui-style aui-button-primary aui-nav-imagelink"><font color="white">Raise an Issue</font></a>


<script type="text/javascript" src="https://issues.COMPANY.com/s/c257c448db17223cebbcdb77fdc57dd3-T/-o3eer4/711000/69df68516b92a5a8ac26594f6618849c/2.0.31/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en&collectorId=2f30967c"></script>


<script type="text/javascript">
window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function(showCollectorDialog) {
jQuery("#myCustomTrigger").click(function(e) {
e.preventDefault();
showCollectorDialog();
});
}
};
</script>
---------------------------

I have referenced the below question and answer and am still unable to get this to work. Thanks in advance for any help that can be offered!

https://confluence.atlassian.com/adminjiracloud/advanced-use-of-the-jira-issue-collector-788726105.html

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events