You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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!