Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Set a label "test" for an issue collector in JIRA via fieldValues in Confluence (HTML embeded)

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! 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events