I'm using JIRA cloud and have set a post function in the workflow to require the user to select a resolution (Done, Won't Do, Duplicate, Cannot Reproduce) before closing an issue.
A box pops up with resolution as the required field, the user picks from the drop down, and then closes the issue.
The resolution that has been selected is somehow not being stored in the history - they're all being set as Unresolved.
Thanks for any help anyone can provide!
My post functions when stories change to closed:
The following will be processed after the transition occurs
- The Resolution of the issue will be set to -1.
- Set issue status to the linked status of the destination workflow step.
- Add a comment to an issue if one is entered during a transition.
- Update change history for an issue and store the issue in the database.
- Re-index an issue to keep indexes in sync with the database.
- Fire a Generic Event event that can be processed by the listeners.