@PublicApi public enum SharedEntitySearchContext extends Enum<SharedEntitySearchContext>
When searching within a USER context, the search is being performed with the objective of using the results in jira as a user, e.g. favourite the result, use it in a dashboard, see its content in the issue navigator...
Conversely, a search in "ADMINISTRATION" context is being done with the objective of performing administration tasks on the returned search entities, e.g. Delete the entity, change its owner, change its sharing permissions.
Only JIRA Administrators are able to perform "ADMINISTRATION" context queries.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final SharedEntitySearchContext USE
public static final SharedEntitySearchContext ADMINISTER
public static SharedEntitySearchContext values()
for (SharedEntitySearchContext c : SharedEntitySearchContext.values()) System.out.println(c);
public static SharedEntitySearchContext valueOf(String name)
Copyright © 2002-2020 Atlassian. All Rights Reserved.