Improve the behaviour of the Status attribute when creating/updating an object

XMLWordPrintable

    • 1

      At the moment while creating or updating an object and filling an attribute of type Status, we first get the list of available statuses but if we clic outside again and manually type the name of an existing Status (ex. Active), the object is not created/updated, an unclear error is thrown in the UI and into logs.

      Error in UI:

      Error in atlassian-jira.log:

      /rest/insight/1.0/object/create [c.r.j.p.i.services.util.ServiceUtil] RuntimeException:Cannot invoke "java.lang.Integer.intValue()" because "statusValue" is null
      java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because "statusValue" is null
      

      The behaviour should be improved such as:

      • the error over UI and logs should be clear about the fact that the Status has not been selected from the list.
        OR
      • the object should be created/updated anyway if the correct existing Status name is typed or a new Status should be created if the one typed is not existing.

            Assignee:
            Unassigned
            Reporter:
            Tiziana Marchionni (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: