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

Web.Bugzilla.Search

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 #

changedBefore :: FieldType a => Field a -> UTCTime -> SearchExpression Source #

changedAfter :: FieldType a => Field a -> UTCTime -> SearchExpression Source #

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 #

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.Internal.Types

Methods

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

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

Show (Field a) Source # 
Instance details

Defined in Web.Bugzilla.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.