How do you set a default value for the 'Component' field when creating a new issue using the OnDemand service?
Basically, I'm looking for the same functionality the 'Priority' setting offers. In the Create Issue window, the default priority is always set to 'Major' with an option to change to something else from the pull down list.
I would like the 'Component' field to be pre-populated with a default value with an option to change to something else as well.
Little tricky, but you will need to use the both line together, the first will truly select the components, the second will display it to user:
AJS.$("#components").val(11902); //11902 is id of "My Component" AJS.$("#components-textarea").val("My Component").blur();
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs