Ejemplo n.º 1
0
 public static JiraQuery OrderBy(this JiraQuery query, string field)
 {
     return(query.AddTerm($"order+by+{field}"));
 }
Ejemplo n.º 2
0
 public static JiraQuery StatusCategoryIsNot(this JiraQuery query, JiraStatusCategory category)
 {
     return(query.Add($"statusCategory!={JiraData.StatusCategoryDictionary[category]}"));
 }
Ejemplo n.º 3
0
 public static JiraQuery ResolvedSince(this JiraQuery query, DateTime time)
 {
     return(query.Add($"resolutiondate>={time.ToString(_apiDateFormat)}"));
 }
Ejemplo n.º 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]))})"));
 }
Ejemplo n.º 5
0
 public static JiraQuery UpdatedSince(this JiraQuery query, int amount, JiraTimeDifference diff)
 {
     return(query.Add($"updated>={amount}{JiraData.TimeDictionary[diff]}"));
 }