Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to set default labels for an issue collector via fieldValues with javascript

john doe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 13, 2021

 window.ATL_JQ_PAGE_PROPS = { "triggerFunction": function(showCollectorDialog) { //Requires that jQuery is available! jQuery("#myCustomTrigger").click(function(e) { e.preventDefault();

showCollectorDialog();

}); },

fieldValues: {

Type: 'bug',

summary: 'test',

labels : ['test'],

'labels': 'test' }

}

 

Labels or Type are not being set when submitting the feedback button, don't understand the reason why it's not creating the issue with those values, the summary gets populated fine and the issue is created with a label of the issue collector id. I tried both ways, putting it inside a list and just a string but nothing works.

 

jira.[mywebsite].com is the url

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Joost
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 1, 2018

Same here with IDEA 2017.3.5 and JIRA 7.9.1

TAGS
AUG Leaders

Atlassian Community Events