code: public String getTrendingQuery(String sprintStartDate,
                                     String sprintEndDate, String sprintDeltaDate, String queryName) {
          ST st = (new STGroupDir(featureSettings.getQueryFolder(), '$', '$')).getInstanceOf(queryName);
          st.add("sprintStartDate", sprintStartDate);
          st.add("sprintEndDate", sprintEndDate);
          st.add("sprintDeltaDate", sprintDeltaDate);
  
          return st.render();
      }
docs: Retrieves source system history/trending queries based on the query name
  (without the file type) and other parameters.
  
  @param sprintStartDate
  The sprint start data in ISO format.
  @param sprintEndDate
  The sprint end data in ISO format.
  @param sprintDeltaDate
  The delta date in ISO format.
  @param queryName
  The source system query name (without the file type).
  @return A given historical source system query, in String format.