I'm trying to use Issue Collector to integrate my HTML. I use javascript to use the function button and custom Issue Collector. I use "fieldValues" to predefined information to submit to Jira. (User doesn't do anything. except click submit)
1. Can I remove "reason field" pop-up? I can't remove it. I think it is a mandatory field from the Issue Collector.
2. Block to edit when Issue Collector pop-up. I can't block to edit data from the console. It has a way to block via Javascript or any?
3. Can I auto-submit when the user clicks the button to open Issue Collector?
I follow this link. https://support.atlassian.com/jira-cloud-administration/docs/customize-the-jira-issue-collector/
Sample code follow example
<script type="text/javascript">window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function(showCollectorDialog) {
//Requries that jQuery is available!
jQuery("#UseCaseButton2").click(function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues: {
summary : 'Issue-Title',
description : 'Issue-Description',
}};</script>