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

fixes #11162 : add scoped_search parent_task_id to task model #127

Merged
merged 1 commit into from Jul 22, 2015

Conversation

bbuckingham
Copy link
Member

This change is to enable users to search for tasks (in UI or API) using
the parent_task_id. This is useful if the user has the parent task
but needs to get access to it's children.

The following is an example of using API to query for tasks that have the same parent:

curl -k -u admin:password -H "Content-Type:application/json" -H "Accept:application/json,version=2" -X GET -d "{"search": "parent_task_id=50b6b3ba-fa71-4a1c-840b-e1913fc5d8a6"}" https://sat61fusor.example.com/foreman_tasks/api/tasks | json_reformat

@theforeman-bot
Copy link
Member

There were the following issues with the commit message:

  • 6166bf1 must be in the format Fixes/refs #redmine_number - brief description.

Guidelines are available on the Foreman wiki.


This message was auto-generated by Foreman's prprocessor

@iNecas
Copy link
Member

iNecas commented Jul 21, 2015

APJ

This change is to enable users to search for tasks (in UI or API) using
the parent_task_id.  This is useful if the user has the parent task
but needs to get access to it's children.
@bbuckingham
Copy link
Member Author

Modified commit message for theforeman-bot

iNecas added a commit that referenced this pull request Jul 22, 2015
fixes #11162 : add scoped_search parent_task_id to task model
@iNecas iNecas merged commit 52bb8d3 into theforeman:master Jul 22, 2015
@iNecas
Copy link
Member

iNecas commented Jul 22, 2015

@bbuckingham thanks, I will also backport tihs to 0.6.x series, to help you, together with other useful fixes

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