Hi, I'm currently looking to edit an issue collector script so it includes a preset fix version and component.
However when I create a new issue using the collector the fields stay blank.
fieldValues : {
summary : 'Overtype this with a short title'
, description : 'Overtype this with an expanded description...'
// hidden field value
, customfield_10200: [ "DS-685" ]
, priority : '2'
, labels : 'Caspian_UAT'
//
// TRYING TO GET THESE TWO VALUES BELOW - TO AUTOMATICALLY ASSIGN BUT HAVING NO LUCK
, components : [ 'DL: UAT' ]
, fixversions: [ 'Data Lake MVP' ]
}
});</script>You'll see above part of the script and the two fields I'm trying to add. Do I need to use a field ID? I couldn't seem to find one for either field.
I'm also not a developer so go easy ;) Thanks team!
I found and tested successfully an answer for Component, possibly the same principal applies to fixversion. See this answer, and make sure to note the follow up detail from @Thierry Michel:
Pre-set Component for Issue Collectors?
Also, this other question talks a little about multi-value for Components:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.