I know that it is possible to assign issue to reporter as a transition post action but I want to preselect assignee to reporter in dropdown on issue resolution screen giving user an ability to change that selection if necessary. Is it possible to do that?
A combination of javascript and velocity inside a Velocity Message Custom Field in JIRA Toolkit should do the trick.
- use velocity to get the reporter username
- use javascript to set the drop down to the reporter's username
Thank you for the answer. I looked at the Message Custom Field - this seems to be just a read-only HTML field. Should I get list of users with Velosity and than construct HTML select from it? How to tell where to store selected value in Jira? Could you point me to any example?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This custom field is only used to change the selected value in your assignee list, it is not a traditional custom field where it stores a value.
Try inserting some javascript code in the default value of the custom field context. Then add the field to the screen to see the results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.