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!
I'm experiencing the same issue and would like to have a solution.
I have a "customfield_10006" (that is the "Epic Link") that gets filled correctly, but "Labels" stays empty. Only the Collector-xxxxxxx label gets filled.
Edit:
fieldValues: { labels: ["label name"],}
Doesn't work either. the [ ] to mark an array must be used.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.