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