Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to return Requestors and First transaction content in ticket search results #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ruicleite96
Copy link

Example:
http://localhost/REST/2.0/tickets?query=Queue='general'&fields=Requestors,Description&fields[Requestors]=RealName

{
  "count": 1,
  "total": 1,
  "page": 1,
  "pages": 1,
  "per_page": 20,
  "items": [
    {
      "Requestors": [
        {
          "_url": "http://localhost/REST/2.0/user/root",
          "type": "user",
          "RealName": "Enoch Root",
          "id": "root"
        }
      ],
      "Description": "<p>Test</p>\n",
      "id": "5",
      "_url": "http://localhost/REST/2.0/ticket/5",
      "type": "ticket"
    }
  ]
}

@lelutin
Copy link

lelutin commented Jan 13, 2021

Nice thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants