clever_cottonmouth
clever_cottonmouth
CC#
Created by IamMax420 on 5/25/2024 in #help
Problem with creating a project
Download sdk and try again
3 replies
CC#
Created by clever_cottonmouth on 5/2/2024 in #help
Error while pushing Azure ServiceBus connection string on github.
So where can I store environmental variables?
8 replies
CC#
Created by clever_cottonmouth on 3/28/2024 in #help
Not able to debug
can we connect on vc-1?
4 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
i will let know once it work
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
ok i can try that also
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
we can hit jira api reapeatedely
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
i dont think so jira have time limiting
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
List<Project> projects = context.Projects.ToList(); foreach (Project project in projects)
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
it depends the how much project key we have in our database
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
yes it fail after some looping, I have share completed code above
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
here i am iterating project.Key after that i got response from api but i am getting error to much request i don't know how to handle
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
using (var context = _contextResolver()) { List<JiraRelease> fullAPIList = new List<JiraRelease>(); List<Project> projects = context.Projects.ToList(); foreach (Project project in projects) { string _url = $"rest/api/3/project/{project.Key}/version"; var jsonObject = await _jiraClient.GetAsync(_url);

if (jsonObject["values"] != null && jsonObject.HasValues) { List<JiraRelease> release = jsonObject["values"]. Select(x => { JiraRelease data = new JiraRelease(); data.FixVersionID = x.Value<string>("id"); data.ProjectKey = project.Key; data.FixVersion = x.Value<string>("name"); int statusInt = x.Value<string>("released") == "true" ? 1 : 0;
data.Status = statusInt.ToString(); data.ReleaseDate = x.Value<string>("releaseDate"); return data; }).ToList();
27 replies
CC#
Created by clever_cottonmouth on 3/27/2024 in #help
Not able to store data in database
Basically i want to store json data in database which is coming from jira api
27 replies