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

[Records/Sheets] In all records, add `links_records` key expansion which returns dictionaries #1002

Closed
jstanden opened this issue Sep 27, 2019 · 1 comment
Projects
Milestone

Comments

@jstanden
Copy link
Owner

@jstanden jstanden commented Sep 27, 2019

Related to #992

@jstanden jstanden added this to the 9.4 milestone Sep 27, 2019
@jstanden jstanden added this to To do in 9.4 via automation Sep 27, 2019
@jstanden

This comment has been minimized.

Copy link
Owner Author

@jstanden jstanden commented Oct 17, 2019

Implemented in 9.4

@jstanden jstanden closed this Oct 17, 2019
9.4 automation moved this from To do to Done Oct 17, 2019
jstanden added a commit that referenced this issue Dec 10, 2019
… use an improved `links` expansion key. The `links` expansion key returns a backwards compatible format. The linked record types can be filtered by specifying them like `expand:[links.task,links.contact]`, which returns only links to tasks and contacts (ignoring other types). The desired number of results can be specified with `links.task~{limit}`, where limit is any number from `1` to `25` (default 10). The returned record dictionaries also support key expansion like `expand:["on.task:_label,comments"]`. Multiple expansion keys are separated with commas. Note that the expansion pattern is double-quoted.

~~~
type:worklist.records
of:ticket
query:(status:o)
expand:["links.project_board_column:_label,board_"]
format:dictionaries
~~~

~~~
type:worklist.records
of:ticket
query:(status:o)
expand:["links.task~25:_label,comments"]
format:dictionaries
~~~

Implements #1002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
9.4
  
Done
1 participant
You can’t perform that action at this time.