The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • JavaScript to get an issue's multiselect values then use values to default list on Create screen

JavaScript to get an issue's multiselect values then use values to default list on Create screen

Michael Alexander
May 23, 2023

I have a need that when the Issue Create is launched, I can get the initial Issue's multiselect selected values to default the multiselect values on the Issue Create screen.

I need to do this with JavaScript in a field's Description field.

I already have the JavaScript code written and working to default all the fields from initial Issue's fields, with the exception of the Initial Issue's multiselect fields.

Can someone please provide an example JavaScript code on how to -

1) retrieve the selected values list of the multiselect field on the initial Issue, and then,

2) set the values list to Create Issue multiselect field as its defaults.

Thank you in advance for your help!

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.