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 shared users to be set as accountable/responsible as well #15249

Merged
merged 5 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions docs/api/apiv3/components/schemas/available_responsibles_model.yml

This file was deleted.

84 changes: 40 additions & 44 deletions docs/api/apiv3/openapi-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ info:
are supported. The client signals the desired compression by setting the [`Accept-Encoding` header](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3).
If no `Accept-Encoding` header is send, `Accept-Encoding: identity` is assumed which will result in the API responding uncompressed.
title: OpenProject API V3 (Stable)
version: '3'
version: "3"

servers:
- url: https://qa.openproject-edge.com
Expand Down Expand Up @@ -312,8 +312,6 @@ paths:
"$ref": "./paths/project_work_packages_form.yml"
"/api/v3/projects/{id}/available_assignees":
"$ref": "./paths/project_available_assignees.yml"
"/api/v3/projects/{id}/available_responsibles":
"$ref": "./paths/project_available_responsibles.yml"
"/api/v3/projects/{id}/categories":
"$ref": "./paths/project_categories.yml"
"/api/v3/projects/{id}/types":
Expand Down Expand Up @@ -476,73 +474,73 @@ paths:
components:
examples:
DateAlertNotification:
$ref: './components/examples/date_alert_notification.yml'
$ref: "./components/examples/date_alert_notification.yml"
GridSimpleCollectionResponse:
$ref: './components/examples/grid-simple-collection-response.yml'
$ref: "./components/examples/grid-simple-collection-response.yml"
GridSimplePatchModel:
$ref: './components/examples/grid-simple-patch-model.yml'
$ref: "./components/examples/grid-simple-patch-model.yml"
GridSimpleResponse:
$ref: './components/examples/grid-simple-response.yml'
$ref: "./components/examples/grid-simple-response.yml"
GroupResponse:
$ref: './components/examples/group-response.yml'
$ref: "./components/examples/group-response.yml"
MembershipCreateRequestCustomMessage:
$ref: './components/examples/membership-create-request-custom-message.yml'
$ref: "./components/examples/membership-create-request-custom-message.yml"
MembershipCreateRequestGlobalRole:
$ref: './components/examples/membership-create-request-global-role.yml'
$ref: "./components/examples/membership-create-request-global-role.yml"
MembershipCreateRequestNoNotification:
$ref: './components/examples/membership-create-request-no-notification.yml'
$ref: "./components/examples/membership-create-request-no-notification.yml"
MembershipFormResponse:
$ref: './components/examples/membership-form-response.yml'
$ref: "./components/examples/membership-form-response.yml"
MembershipSchemaResponse:
$ref: './components/examples/membership-schema-response.yml'
$ref: "./components/examples/membership-schema-response.yml"
MembershipSimpleCollectionResponse:
$ref: './components/examples/membership-simple-collection-response.yml'
$ref: "./components/examples/membership-simple-collection-response.yml"
MembershipSimpleResponse:
$ref: './components/examples/membership-simple-response.yml'
$ref: "./components/examples/membership-simple-response.yml"
MembershipUpdateAdditionalRoles:
$ref: './components/examples/membership-update-additional-roles.yml'
$ref: "./components/examples/membership-update-additional-roles.yml"
MentionedNotification:
$ref: './components/examples/mentioned_notification.yml'
$ref: "./components/examples/mentioned_notification.yml"
NotificationCollection:
$ref: './components/examples/notification_collection.yml'
$ref: "./components/examples/notification_collection.yml"
PlaceholderUserResponse:
$ref: './components/examples/placeholder-user-response.yml'
$ref: "./components/examples/placeholder-user-response.yml"
Project:
$ref: './components/examples/project.yml'
$ref: "./components/examples/project.yml"
ProjectBody:
$ref: './components/examples/project_body.yml'
$ref: "./components/examples/project_body.yml"
ProjectCollection:
$ref: './components/examples/project_collection.yml'
$ref: "./components/examples/project_collection.yml"
QueriesModel:
$ref: './components/examples/queries.yml'
$ref: "./components/examples/queries.yml"
QueryModel:
$ref: './components/examples/query.yml'
$ref: "./components/examples/query.yml"
QuerySchemaModel:
$ref: './components/examples/query_schema.yml'
$ref: "./components/examples/query_schema.yml"
StatusCollection:
$ref: './components/examples/status_collection.yml'
$ref: "./components/examples/status_collection.yml"
StoragesSimpleCollectionModel:
$ref: './components/examples/storages-simple-collection-response.yml'
$ref: "./components/examples/storages-simple-collection-response.yml"
UserResponse:
$ref: './components/examples/user-response.yml'
$ref: "./components/examples/user-response.yml"
ValuesPropertyStartDateSchema:
$ref: './components/examples/values_property_start_date_schema.yml'
$ref: "./components/examples/values_property_start_date_schema.yml"
ValuesPropertyDueDateSchema:
$ref: './components/examples/values_property_due_date_schema.yml'
$ref: "./components/examples/values_property_due_date_schema.yml"
ValuesPropertyDateSchema:
$ref: './components/examples/values_property_date_schema.yml'
$ref: "./components/examples/values_property_date_schema.yml"
ValuesPropertyStartDate:
$ref: './components/examples/values_property_start_date.yml'
$ref: "./components/examples/values_property_start_date.yml"
ValuesPropertyDueDate:
$ref: './components/examples/values_property_due_date.yml'
$ref: "./components/examples/values_property_due_date.yml"
ValuesPropertyDate:
$ref: './components/examples/values_property_date.yml'
$ref: "./components/examples/values_property_date.yml"
Views:
$ref: './components/examples/views.yml'
$ref: "./components/examples/views.yml"
ViewWorkPackagesTable:
$ref: './components/examples/view_work_packages_table.yml'
$ref: "./components/examples/view_work_packages_table.yml"
ViewTeamPlanner:
$ref: './components/examples/view_team_planner.yml'
$ref: "./components/examples/view_team_planner.yml"

responses:
InvalidQuery:
Expand All @@ -563,8 +561,6 @@ components:
"$ref": "./components/schemas/attachments_model.yml"
Available_AssigneesModel:
"$ref": "./components/schemas/available_assignees_model.yml"
Available_ResponsiblesModel:
"$ref": "./components/schemas/available_responsibles_model.yml"
Available_WatchersModel:
"$ref": "./components/schemas/available_watchers_model.yml"
Available_projects_for_queryModel:
Expand Down Expand Up @@ -612,15 +608,15 @@ components:
Example_SchemaModel:
"$ref": "./components/schemas/example_schema_model.yml"
FileLinkCollectionReadModel:
$ref: './components/schemas/file_link_collection_read_model.yml'
$ref: "./components/schemas/file_link_collection_read_model.yml"
FileLinkCollectionWriteModel:
$ref: './components/schemas/file_link_collection_write_model.yml'
$ref: "./components/schemas/file_link_collection_write_model.yml"
FileLinkOriginDataModel:
"$ref": "./components/schemas/file_link_origin_data_model.yml"
FileLinkReadModel:
$ref: './components/schemas/file_link_read_model.yml'
$ref: "./components/schemas/file_link_read_model.yml"
FileLinkWriteModel:
$ref: './components/schemas/file_link_write_model.yml'
$ref: "./components/schemas/file_link_write_model.yml"
Formattable:
"$ref": "./components/schemas/formattable.yml"
GridCollectionModel:
Expand Down Expand Up @@ -906,4 +902,4 @@ tags:
- "$ref": "./tags/work_packages.yml"
- "$ref": "./tags/work_schedule.yml"
security:
- BasicAuth: [ ]
- BasicAuth: []
115 changes: 0 additions & 115 deletions docs/api/apiv3/paths/project_available_responsibles.yml

This file was deleted.

4 changes: 4 additions & 0 deletions docs/release-notes/14-0-0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ Since the done_ratio is now a read only value, derived from work and remaining w

For more information, see [#40749](https://community.openproject.org/work_packages/40749)

### Removed `available_responsibles` from the API

The `available_responsibles` endpoint has been removed from the API. This endpoint was used to retrieve a list of users that could be set as the **responsible** for a work package. This information has been identical to the results by the `available_assignees` endpoint. When you are using the `available_responsibles` endpoint in your application, you should switch to using the `available_assignees` endpoint instead.

<!--more-->

## Bug fixes and changes
Expand Down
50 changes: 0 additions & 50 deletions lib/api/v3/projects/available_responsibles_api.rb

This file was deleted.

Loading
Loading