I often need to look up some information in the middle of typing a comment. It is too easy to click a link to go and find that information. When I come back to the task the first part comment is gone. Can Jira be configured to display a continue/cancel dialog saying your work will be lost?
Another option would be to save the comment locally until I return to the page.
Hi Terrill - Welcome to the Atlassian Community!
The quick answer is no, there’s nothing in Jira that will save partial answers or comments like that. Your best option is to go ahead and submit the comment and then do an edit later if you need to change/update it.
As long as you don't navigate from the browser tab, the comment should remain as is, the field in DOM just gets blurred (loses focus). The typed content should remain in it's entirety.
If you click "Cancel" from the comment panel, you should get a javascript popup to confirm that you're cancelling the comment.
If you click away from the Comment, it should again just get blurred, but anything typed should remain.
If you navigate to another url in your current tab, there's (afaik) nothing javascript can do as that behaviour is defined by browsers, it will give you the standard "seems you have some unsaved changes, you sure?" confirmation dialog.
Can't say that what you describe sounds like expected behaviour. Either your browser should give you a popup when you try to navigate away from the page, or you're doing something else entirely but I can't think of what other than that and blur, either way, the comment should retain the typed content. At worst, you could have some javascript (e.g. browse extension or Jira plugin) that would mess up with blur event or something, but that's unlikely.
Could you try to go into more detail and/or illustrate what's going on?
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.