Currently the design for Approval/Decline button is separated from the comments. If a user adds a comment and clicks on approve/decline, the comment will be lost as the page is refreshed. The issue is transitioned but no comments would be added.
- Use the functionality of a JIRA transition screen where if a an issue is transitioned, a screen to displayed to select required fields and add a comment. Click on add will save the comment and transition the issue.
- Add a warning if the comment is not added and Approve/Decline is selected, the comment will be lost.
Add a comment separately from Approving/Declining the request.