# Relationship between Upcoming jobs and staff assigned to it

**URL:** <https://community.servicem8.com/t/relationship-between-upcoming-jobs-and-staff-assigned-to-it/741>\
**Category:** API & SDK\
**Created:** [July 19, 2020, 3:02am UTC](https://community.servicem8.com/t/relationship-between-upcoming-jobs-and-staff-assigned-to-it/741 "2020-07-19T03:02:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [July 19, 2020, 3:02am UTC](https://community.servicem8.com/t/relationship-between-upcoming-jobs-and-staff-assigned-to-it/741/1 "2020-07-19T03:02:03Z")

</div>

**Originally posted by Ashwin Shresthra**

I have a few question associated with one another, so I am putting it out here…

1. /job.json gives all old passed jobs, what should I do to get upcoming jobs too?
2. In the same api above, I would like to fetch the jobs assigned to me i.e. the logged in user. How do I achieve that?
