Forums

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

REST API Original Estimate Create Issue

Stefano Falasca
Contributor
August 4, 2018

I am trying to set Original Estimate field, on create issue using REST API.

I am using json section like this:

"timetracking": {
"originalestimate ": "1d 2h",
"remainingEstimate": "3h 25m"
}

how say documentation : 

https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#creating-an-issue-examples

but response of api rest is :

{
"errorMessages": [],
"errors": {
"timetracking": "Field 'timetracking' cannot be set. It is not on the appropriate screen, or unknown."
}
}

Any solution ?

2 answers

1 accepted

0 votes
Answer accepted
Alexey Matveev
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.
August 4, 2018

Hello,

It means that the timetracking field is not on the edit screen of this issue. You should add this field to the Edit screen.

Александр_Аргунов
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 8, 2018

Thank you!

Dhruval Shah October 9, 2020

I have the field on my screen, but still I'm getting the same error?
Is it due to API version? I'm using API version 2, right now.

0 votes
Dhruval Shah October 9, 2020

After adding timetracking in the screen you'll have error, 

Please check spelling mistake(Uppercase Issue) in below: 

"timetracking": {
"originalestimate ": "1d 2h",
"remainingEstimate": "3h 25m"
}

 

'originalestimate' should be 'originalEstimate '.

Suggest an answer

Log in or Sign up to answer