Fixed NullPointerException when story points or sort order are not set

story points and sort order are required (0 is allowed)