Hello
I have created a issue collector in JIRA. Trigger is "custom" and then i embedded the code in a confluence page in HTML.
My goal is, when i create an issue in JIRA with the issue collector, that a new label is set. (btw. i realized that the issue collector is seting a label with the collector-id - would be nice to remove this --> but this is low prio)
I'm doing this according this article: Customize the Jira issue collector | Atlassian Support
Beside of the label I have another field, where i would put in some values, and this is working fine (below the line with "customfield_19700 : 'Hello',").
<script src="https://jira.prod.xxx.com/plugins/servlet/issueCollectorBootstrap.js?collectorId=fbf1414c&locale=en_US">
</script>
<script>window.ATL_JQ_PAGE_PROPS =
{"triggerFunction": function(showCollectorDialog)
{jQuery("#myCustomTrigger").click(function(e)
{ e.preventDefault();
showCollectorDialog();
});
},
fieldValues : {
labels : 'Test',
customfield_19700 : 'Hello',
}
}
</script>
I am sure, that the id of lables is labels and not a customId - i have checked this already.
What is wrong?
Thx a lot!