Can Jira be configured to display an unsaved comment warning before leaving the page?

Terrill Slocum
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2025

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.  

2 answers

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 29, 2025

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.

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2025

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events