Hi - I am working on a python script to collect information (time spent) on subtasks (ordered by day). Anyway, once I have a list of subtask ID I make a call like:
Most of the time, one of the keys in the JSON that I can follow is ['parent']['fields']['summary'] in order to give me info (name) about the parent story. However for some subtasks there is no 'parent' hierarchy returned.
Why would this not be consistent over all subtasks?
Hi @Larry Weisberg can we get more details (maybe screenshots) about for example
And one short question... why do you use query
and not just
I meant to write back a couple days ago. As far as the incorrectly formatted query - this did not make the difference, but I will clean it up at some point. I apparently had incorrectly modified some code that I downloaded which handles accessing the APIs.
It turns out that the problem was with an assumption I had made about how the rest of my team logs their hours. My /issue/ query was based on the results from the /worklog/updated?since= query, and I had assumed (always a dangerous thing :-) ) that hours were only being logged in subtasks, not in stories. However, since there were some story issues with worklogs , these obviously (and correctly) did not have the parent tag.
Thanks for the help!
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events