public SearchResponse GetIssues(string jql, List<string> fields = null, int startAt = 0, int maxResult = 50)
        {
            fields = fields ?? new List<string> { "key" };

            SearchRequest request = new SearchRequest
            {
                Fields = fields,
                Jql = jql,
                MaxResults = maxResult,
                StartAt = startAt
            };

            string data = JsonConvert.SerializeObject(request);
            string result = RunQuery(JiraResource.search, data: data, method: "POST");

            SearchResponse response = JsonConvert.DeserializeObject<SearchResponse>(result);

            return response;
        }
        public Expand GetIssueDetails(string issues, int startAt = 0, int maxResults = 50)
        {
            List<string> fields = new List<string> { "issuetype", "project", "key", "summary", "assignee", "status", "fixVersions", "created", "reporter", "updated", "customfield_10200", "customfield_10101" };

            string jql = "issue in (" + issues + ")";

            SearchRequest request = new SearchRequest
            {
                Fields = fields,
                Jql = jql,
                MaxResults = maxResults,
                StartAt = startAt
            };

            string data = JsonConvert.SerializeObject(request);

            string result = RunQuery(JiraResource.search, data: data, method: "POST");

            Expand response = JsonConvert.DeserializeObject<Expand>(result);
            return response;
        }