Document disappeared after saving an edit, with no error shown

What you are seeing

A document disappeared after saving an edit, with no error shown.


#Why it happens

The save deletes the old attachment first and then uploads the new one. If the upload fails, no error is displayed.


#What to do

Copy the document text before saving a large edit. If it vanishes, re-create it from your copy. Check attachment size and Jira attachment permissions before retrying.


#Settings involved

Setting

Where

What it does

View / Edit (editor mode)

Editor modal

Only Save in edit mode replaces the attachment. Viewing a document changes nothing.

Title

Editor modal

Up to 50 characters. Becomes the new attachment's filename.


#Limits that apply here

Limit

Value

What happens

Document title length

50 characters

Enforced by the Title input in the editor. The title becomes the attachment filename.


#A few things that catch people out

  • If the delete succeeds but the re-upload fails, the document is lost and no error is shown.

  • Jira keeps no earlier version of the file, so there is nothing to restore from inside Jira.



Found it? Good.