Hello,
I'm trying to fill our jira system via scripts using the SOAP or REST api. Unfortunately, I was not able to find a way how to define the field "Original Estimation". On my search, I found the following issue in your database:
https://bobswift.atlassian.net/browse/JCLI-98
Here I found the confirmation, that defining this field was not possible until that time (end of 2012).
My question:
Is this still a limitation in the latest jira version 6.0?
If my use-case is possible, can someone please send me a link with some documentation or an example code snippet?
Thanks in advance
Community moderators have prevented the ability to post new answers.
The REST API documentation: https://docs.atlassian.com/jira/REST/latest/#idp1847152
says that you should fill timetracking field like that:
"timetracking": { "originalEstimate": "10", "remainingEstimate": "5" },
This should work when creating and upating issue.
Cheers,
Alek.
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.
@Sonu Gupta default is minutes when units aren't specified. To be explicit follow this example:
"timetracking": { "originalEstimate": "1d 2h", "remainingEstimate": "3h 25m" }
from:
https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't see that mentioned anywhere in the docs. Also, I just tried using your example and it didn't seem to work.
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.