private async Task <ColumnResponseModel> GetColumn(HttpClient client, string column, string[] teamNames) { var response = await client.GetAsync($"https://jira.udir.no/rest/agile/1.0/board/145/issue?jql=status='{column}'"); var columnModel = await response.Content.ReadAsAsync <ColumnModel>(); return(ColumnResponseModel.ForColumn(columnModel, column, teamNames)); }
private async Task <ColumnResponseModel> GetMergeColumn(HttpClient client, string[] teamNames) { var response = await client.GetAsync($"https://jira.udir.no/rest/agile/1.0/board/145/issue?jql={_jiraConfig.Value.MergeColumnFilter}"); var columnModel = await response.Content.ReadAsAsync <ColumnModel>(); return(ColumnResponseModel.ForMerge(columnModel, teamNames)); }