Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Atlassian.Jira Sdk --> set Remaining Estimation Time when create a Issue

Jens Debernitz January 14, 2019

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();
}

 

1 answer

1 accepted

0 votes
Answer accepted
Ryan Fish
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2019

@Jens Debernitz

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:

  • Select the Jira icon/ Jira settings/ Issues.
  • Under ISSUE FEATURES, select Time Tracking.
  • Click Edit global settings.

Hope this helps
Ryan

Jens Debernitz January 14, 2019

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.

Ryan Fish
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 14, 2019

@Jens Debernitz

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events