code: def summary(self):
          
          if not self.bug.resolution:
              return self.bug.summary
          if (self.bug.resolution.lower() in self.parent.resolutions
                  or "all" in self.parent.resolutions):
              return "{0} [{1}]".format(
                  self.bug.summary, self.bug.resolution.lower())
          return self.bug.summary
docs: Bug summary including resolution if enabled