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

This widget could not be displayed.
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 :

 

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
This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 6 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

13 views 0 0
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