I'm trying to leverage Jira issue collector in our project, but it runs into `XSRF check failed` issue. I was pointed to add "X-Atlassian-Token: no-check" to request header, but there seems no way to add it through issue collector, as I don't have direct control of it.
I configured Issue collector's 'Trigger Type' to be 'Custom', then placed following code in my project html
<script type="text/javascript">
window.ATL_JQ_PAGE_PROPS = {
triggerFunction: function (showCollectorDialog) {
window.showCollectorDialog = showCollectorDialog;
}
};
</script>
Please point me out if there is a way to add "X-Atlassian-Token: no-check" to header, or if I should use jira api. Thanks.