Jump to content

API call to return unassigned tickets within a team


NPAT

Recommended Posts

@NPAT you could do a call to data::entityBrowseRecords2 API with the following parameters:

{
  "@service": "data",
  "@method": "entityBrowseRecords2",
  "params": {
    "application": "com.hornbill.servicemanager",
    "entity": "Requests",
    "matchScope": "all",
    "searchFilter": [
      {
        "column": "h_status",
        "value": ["status.new","status.open"],
        "matchType": "exact"
      },{
        "column": "h_fk_team_id",
        "value": ["ORG/TEAMID/"],
        "matchType": "exact"
      },{
        "column": "h_ownerid",
        "value": [""],
        "matchType": "exact"
      }
    ]
  }
}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...