Hi All,
I'd like to set the initial fixVersion of a screen via JS. I'm doing the same to set the assignee to the current user(as opposed to automatic). The only problem is I don't know the JS code to set the fix version field. Does anyone know the proper form?
For reference, this is is what I use for assignee:
<script type="text/javascript">
var fixVersionsSelect = AJS.$("#fixVersions");
fixVersionsSelect.trigger('set-selection-value', "10006");
</script>
And what I have started for the version:
<script type="text/javascript">
var fixVersionsSelect = AJS.$("#fixVersions");
fixVersionsSelect.trigger('set-selection-value', "version #");
</script>