bugzilla-redhat-0.3.2: A Haskell interface to the Bugzilla native REST API
Safe HaskellNone
LanguageHaskell2010

Web.Bugzilla.RedHat.Search

Description

A modified version of Web.Bugzilla.Search to support the list fields in Red Hat's modified bugzilla API.

Synopsis

Search operators

(.==.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #

(./=.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #

(.<.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #

(.<=.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #

(.>.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #

(.>=.) :: FieldType a => Field a -> a -> SearchExpression infix 4 Source #

(.=~.) :: FieldType a => Field a -> a -> SearchExpression Source #

(./=~.) :: FieldType a => Field a -> a -> SearchExpression Source #

equalsAny :: FieldType a => Field a -> [a] -> SearchExpression Source #

changedSince :: UTCTime -> SearchExpression Source #

Filter bug changed since UTCTime

changedUntil :: UTCTime -> SearchExpression Source #

Filter bug changed until UTCTime

changedRange :: UTCTime -> UTCTime -> SearchExpression Source #

Filter bug changed in range

changedFrom :: FieldType a => Field a -> a -> SearchExpression Source #

changedTo :: FieldType a => Field a -> a -> SearchExpression Source #

changedBy :: FieldType a => Field a -> UserEmail -> SearchExpression Source #

isEmpty :: FieldType a => Field a -> SearchExpression Source #

isNotEmpty :: FieldType a => Field a -> SearchExpression Source #

Search expressions

data Field a where Source #

A field which you can search by using searchBugs or track changes to using getHistory. To get a human-readable name for a field, use fieldName.

Constructors

AliasField :: Field [Text] 
AssignedToField :: Field UserEmail 
AttachmentCreatorField :: Field UserEmail 
AttachmentDataField :: Field Text 
AttachmentDescriptionField :: Field Text 
AttachmentFilenameField :: Field Text 
AttachmentIsObsoleteField :: Field Bool 
AttachmentIsPatchField :: Field Bool 
AttachmentIsPrivateField :: Field Bool 
AttachmentMimetypeField :: Field Text 
BlocksField :: Field Int 
BugIdField :: Field Int 
CcField :: Field UserEmail 
CcListAccessibleField :: Field Bool 
ClassificationField :: Field Text 
CommentField :: Field Text 
CommentIsPrivateField :: Field Text 
CommentTagsField :: Field Text 
CommenterField :: Field UserEmail 
ComponentField :: Field [Text] 
ContentField :: Field Text 
CreationDateField :: Field UTCTime 
DaysElapsedField :: Field Int 
DependsOnField :: Field Int 
EverConfirmedField :: Field Bool 
FlagRequesteeField :: Field UserEmail 
FlagSetterField :: Field UserEmail 
FlagsField :: Field Text 
GroupField :: Field Text 
KeywordsField :: Field [Text] 
ChangedField :: Field UTCTime 
CommentCountField :: Field Int 
OperatingSystemField :: Field Text 
HardwareField :: Field Text 
PriorityField :: Field Text 
ProductField :: Field Text 
QaContactField :: Field UserEmail 
ReporterField :: Field UserEmail 
ReporterAccessibleField :: Field Bool 
ResolutionField :: Field Text 
RestrictCommentsField :: Field Bool 
SeeAlsoField :: Field Text 
SeverityField :: Field Text 
StatusField :: Field Text 
WhiteboardField :: Field Text 
SummaryField :: Field Text 
TagsField :: Field Text 
TargetMilestoneField :: Field Text 
TimeSinceAssigneeTouchedField :: Field Int 
BugURLField :: Field Text 
VersionField :: Field Text 
VotesField :: Field Text 
CustomField :: Text -> Field Text 

Instances

Instances details
Eq (Field a) Source # 
Instance details

Defined in Web.Bugzilla.RedHat.Internal.Types

Methods

(==) :: Field a -> Field a -> Bool

(/=) :: Field a -> Field a -> Bool

Show (Field a) Source # 
Instance details

Defined in Web.Bugzilla.RedHat.Internal.Types

Methods

showsPrec :: Int -> Field a -> ShowS

show :: Field a -> String

showList :: [Field a] -> ShowS

data SearchExpression Source #

A Boolean expression which can be used to query Bugzilla.