Query remaining estimate using soap


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.


2 answers

0 vote
Tayyab Bashir Community Champion Aug 24, 2017

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 :


  public 'id' => string '872800' (length=6)
  public 'affectsVersions' =>
    array (size=0)
  public 'assignee' => string 'mylogin' (length=9)
  public 'attachmentNames' =>
    array (size=0)
  public 'components' =>
    array (size=0)
  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)
  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 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,253 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot