public static JiraQuery OrderBy(this JiraQuery query, string field)
 {
     return(query.AddTerm($"order+by+{field}"));
 }
 public static JiraQuery StatusCategoryIsNot(this JiraQuery query, JiraStatusCategory category)
 {
     return(query.Add($"statusCategory!={JiraData.StatusCategoryDictionary[category]}"));
 }
 public static JiraQuery ResolvedSince(this JiraQuery query, DateTime time)
 {
     return(query.Add($"resolutiondate>={time.ToString(_apiDateFormat)}"));
 }
 public static JiraQuery StatusCategoryIn(this JiraQuery query, List <JiraStatusCategory> category)
 {
     return(query.Add($"statusCategory in ({string.Join(", ",category.Select(statusCategory => JiraData.StatusCategoryDictionary[statusCategory]))})"));
 }
 public static JiraQuery UpdatedSince(this JiraQuery query, int amount, JiraTimeDifference diff)
 {
     return(query.Add($"updated>={amount}{JiraData.TimeDictionary[diff]}"));
 }