|Constructor and Description|
|Modifier and Type||Method and Description|
For a given project this method will associated the provided search requests such that they will be returned by subsequent calls to
Retrieves all search requests for a given project that the user is allowed to see.
public ServiceOutcome<List<SearchRequest>> associateSearchRequestsWithProject(ApplicationUser user, @Nonnull Project project, Long... searchRequestIds)
The user performing this operation must have rights to
otherwise this this method will return an error result.
If a search request cannot be found by its id it will simply not be associated with the project.
public List<SearchRequest> getSearchRequestsForProject(ApplicationUser user, @Nonnull Project project)
ProjectAction.VIEW_ISSUESpermission this method should return an empty list.
user- The user performing this operation
project- The project that search requests are associated with
Copyright © 2002-2019 Atlassian. All Rights Reserved.