Was hoping to assign field values like this:
<script type="text/javascript">
window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, {
triggerFunction : function( showCollectorDialog ) {
$('#feedback-button').on( 'click', function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues : {
email: userInfo_fullname,
fullname: userInfo_email,
priority: '5',
affectsversion: ['1.0.2']
}
});
</script>
Works just fine for email, fullname, priority, but not for affectsversion.
What is the fieldValue name for Affects Version/s?
I assume assigning a value will need to be in the form of an array.
Can I use the value of the release '1.0.2' or does it need to be the id? If it is the id how do I find that.
The name of the filled is versions and has to assign it the internal id which I found by inspecting the page.
<script type="text/javascript">
window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, {
triggerFunction : function( showCollectorDialog ) {
$('#mtpFeedback').on( 'click', function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues : {
email: userInfo_fullname,
fullname: userInfo_email,
priority: '5',
versions: ['29310'],
}
});
</script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.