Query remaining estimate using soap

Hi,

I'm using JiraSoapService.

 

It works well. But I do not understand how to query the remaining estimante for an issue.

Remaining estimate are not inside work logs, so, where is it ?

 

Thanks for your answer.

Benoît

2 answers

I havn't used Soap for this puporse, but I assume it would be similar to making rest call. 

In rest you simply get an issue by passing its ID.
[GetIssueByID() | https://jira.pk-lhr.u-blox.net/plugins/servlet/restbrowser#/resource/api-2-issue-issueidorkey]

And then just access the remainingEstimate value from the JSON reply. 

I see there are similar methods in Soap as well. 

[getIssue Soap | https://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#getIssue(java.lang.String, java.lang.String)]

Thanks, but unforunately, there is no remaining estimate inside the SOAP "getIssue" reply.

That's why I ask for the knowledge of community.

The only things inside "getIssue" are the following :

 

object(stdClass)[224]
  public 'id' => string '872800' (length=6)
  public 'affectsVersions' =>
    array (size=0)
      empty
  public 'assignee' => string 'mylogin' (length=9)
  public 'attachmentNames' =>
    array (size=0)
      empty
  public 'components' =>
    array (size=0)
      empty
  public 'created' => string '2017-08-11T12:37:00.000Z' (length=24)
  public 'customFieldValues' =>
    array (size=6)
       ...
  public 'description' => string 'soap test' (length=9)
  public 'duedate' => null
  public 'environment' => null
  public 'fixVersions' =>
    array (size=0)
      empty
  public 'key' => string 'TCN-3747' (length=8)
  public 'priority' => string '9' (length=1)
  public 'project' => string 'TCN' (length=3)
  public 'reporter' => string 'mylogin' (length=9)
  public 'resolution' => null
  public 'status' => string '1' (length=1)
  public 'summary' => string 'Test to be delete on sept 2017' (length=34)
  public 'type' => string '3' (length=1)
  public 'updated' => string '2017-08-24T06:14:08.000Z' (length=24)
  public 'votes' => int 0
0 votes

Ah, from memory, the SOAP interface never gave you the estimate stuff.  You either have to write your own add-on to expose it, or upgrade to using REST

Ok, this explain why I didn't find the value.

So, I will try another way to find my estimate stuff.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

445 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you