after creating an issue. I would like to set the Remaining Estimation Time. For the API SDK, however, the field TimeTracking is only one read.
Issue story = Global.GlobalSettings.JiraInstance.CreateIssue("CGMDETM");
story.Type = "User Story";
story.Priority = "Major";
story.Summary = TICKET_SUMMARY[count] + " | "+ ComboBoxTeam.Text + " " + sprint.SprintName + "-" + TextFieldVersion.Text;
story.FixVersions.Add(TextFieldVersion.Text);
story.DueDate = DateTime.Now;
story.Assignee = Global.GlobalSettings.UserName;
story.Description = TICKET_DESCRIPTION[count];
//here will I set the remainig estimation
try
{
story.SaveChanges();
}
What is the reason for setting the remaining estimation time? Out of the box it is a calculated field, the difference of estimated time and logged time.
If you want to set the h/d/w configuration, then:
Hope this helps
Ryan
I would like to set the following things when creating my issue:
Estimated time:
Remaining time:
we already see it above i try it via the SDK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
take a look at ScriptRunner. I am not a user, but I believe this is an option for what you are trying to do.
Remaining time is a function of estimated time and logged time, what is the value of changing the calculation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.