Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-37142

Notify user when editing a story will overwrite another user's changes

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Use case:
      Bob and Sally are both editing story 123. Bob saves his changes first and so when Sally saves her changes she has overwritten Bob's changes without even knowing it (without performing some forensics in the story's history). This last write win is undesired.

      Better would be to use an optimistic locking mechanism where a version/revision number is saved on the story that is incremented each time it is modified. This version is then checked when saving (often by providing the version in the sql query's where clause) and rejecting the update if an old version is being updated.

      To revisit the Bob/Sally example:
      Bob and Sally are editing version 1 of the story. When Bob saves his changes the version is incremented to 2. When Sally saves her changes the system detects that an old version is being saved and would reject with a message that the story has been updated while she was editing it. Or at least warn Sally that she's about to overwrite another user's changes--maybe with a yes/no prompt to let her confirm that's what she wants to do.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              d6abea28d402 Trey Howard
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: