Hello, Community!
I am working on a project where I need to populate a custom field (ideally, a single-select dropdown box) with a list of component from a DIFFERENT project than the one I am in.
On the create issue screen, I have a Project Picker custom field that lists all the projects in Jira (we have version 7.6.0). This custom field is straight forward and works perfectly - nothing special to it.
When the user picks a project from the list, I need to automatically populate another dropdown with the list of project components of that project the user selected. Seems like a simple enough requirement, right?
I understand I can place JavaScript code in the "Description" field of a single-select dropdown custom field that will look at the Project Picker field and do some magic to interrogate the selected project for components and populate.
Has anyone here done that before? I would really appreciate a copy of that JavaScript, if anyone has it, or some advice/direction on how to accomplish this. I am not a JavaScript programmer, so I don't know how to write the code for this.
Thanks, Sharone.