package

com.atlassian.jira.plugin.webfragment.conditions

Classes

AbstractHasVersionsCondition  
AbstractIssueCondition This class is deprecated. Extend AbstractIssueWebCondition instead. Since v6.0.  
AbstractIssueWebCondition Convenient abstraction for Conditions that are aware of JIRA's authentication and project- or issue-related contexts. 
AbstractJiraCondition This class is deprecated. Extend AbstractWebCondition instead. Since v6.0.  
AbstractJiraPermissionCondition This class is deprecated. Use AbstractPermissionCondition instead. Since v6.0. This class was previously in jira-core but has been moved into the API (and deprecated) to protect third-party plugins that were using it. See JRA-30983 and JRA-32058.  
AbstractPermissionCondition Convenient abstraction to initialise conditions that require the PermissionManager and accept "permission" param. 
AbstractWebCondition Convenient abstraction for Conditions that are aware of JIRA's authentication and project- or issue-related contexts. 
BooleanSystemPropertyCondition A condition which is true iff the configured system property is set and has case insensitive value "true". 
BrowseUsersPermissionCondition Only display a web-fragment if a User has permission to browse/pick users. 
CanAdministerProjectCondition Checks that the current user is a project admin for the passed in Project, Version or Component 
CanAttachFileToIssueCondition Condition that determines whether the current user can attach a file to the current issue. 
CanAttachScreenshotToIssueCondition Condition that determines whether the current user can attach a screenshot to the current issue. 
CanConvertToIssueCondition Condition that determines whether the current user can convert the current subtask to an issue. 
CanConvertToSubTaskCondition Condition that determines whether the current user can convert the current issue to a sub task. 
CanCreateSharedObjectsCondition Checks if the logged in user has the rights to create shared objects. 
CanManageAttachmentsCondition Condition that determines whether the current user can mange attachments

An issue must be in the JiraHelper context params. 

ContextContainsCondition A condition that checks to see if a passed in param equals a specific  
ExternalUserManagementDisabledCondition Condition returns true if JIRA_OPTION_USER_EXTERNALMGT is disabled. 
HasIssuePermissionCondition Condition to check a permission against a given issue for the current user. 
HasLastSearchRequestCondition Condition that checks if a user has a current search. 
HasLinkTypesAvailableCondition Condition to check whether there are any link types available. 
HasProjectPermissionCondition Checks if a project is selected (in JiraHelper) and if the user has the permission for that project  
HasSelectedProjectCondition Checks if a project is selected

The project must be set within JiraHelper  

HasSubTasksAvailableCondition Condition to check whether the issue has any sub task types available. 
HasVelocityRequestContext Checks if there is a getRequestParameters()
HasVersionsReleasedCondition Checks if there are any released versions for the selected project. 
HasVersionsUnreleasedCondition Checks if there are any unreleased versions for the selected project. 
HasVotedForIssueCondition Condition to check whether the current user has voted for the current issue

An issue must be in the JiraHelper context params. 

HasWritableDirectoryCondition Checks if there are any user directories with 'write' permission. 
IsAdminModeCondition Checks if we're in admin mode  
IsApplicationPropertySetCondition Condition to see if a system property option is set to true. 
IsBrowserCondition TODO: Document this class / interface here 
IsDashboardOwnerCondition Checks if the current user is the owner of a given dashboard 
IsFeatureEnabledCondition

Will allow displaying given fragment if a particular feature is enabled. 

IsFieldHiddenCondition Checks if the specified field is hidden in at least one scheme associated with the selected project and issuetype

field and issuetype is initialised in init(java.util.Map)

IsIssueAssignedToCurrentUserCondition Condition to checkif the current user is the assignee of the current issue

An issue must be in the JiraHelper context params. 

IsIssueEditableCondition Condition to check if the issue is currently editable

An issue must be in the JiraHelper context params. 

IsIssueReportedByCurrentUserCondition Condition to check whether the current user reported the current issue

An issue must be in the JiraHelper context params. 

IsIssueUnresolvedCondition Condition to determine whether an issue is Unresolved

An issue must be in the JiraHelper context params. 

IsKeyboardShortcutsEnabledCondition Condition to check if keyboard shortcuts are enabled. 
IsOnDemandCondition Checks if JIRA runs in On Demand environment 
IsSubTaskCondition Condition to determine whether an issue is a subtask

An issue must be in the JiraHelper context params. 

IsVersionArchived Checks to see if the version passed in is archived 
IsVersionReleased Checks to see if the version passed in is released 
IsWatchingIssueCondition Condition that determines whether the current user is watching the current issue. 
JiraGlobalPermissionCondition Checks if the user has the global permission: permission  
LinkingEnabledCondition Condition to determine whether linking is enabled 
NotVersionContextCondition This condition specifies that the item should only be displayed if the supplied JiraHelper is not of type VersionHelper i.e. 
ShowDashboardToolsMenuCondition Decides wheter or not to show the Manage Dashboards link. 
SmtpMailServerConfiguredCondition Only displays a com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor if an SMTP mail server is configured. 
SubTasksEnabledCondition Condition to determine whether Subtasks are turned on or not 
TimeTrackingEnabledCondition Condition to determine whether time tracking is turned on or not 
UserHasIssueHistoryCondition Checks if there are any history issue's  
UserHasVisibleProjectsCondition Checks if the user can see atleast one project with this permission  
UserIsAdminCondition Checks if this user has the global admin permission. 
UserIsAdminOrHasVisibleProjectsCondition Checks if the user is an admin or can see atleast one project with this permission  
UserIsProjectAdminCondition Checks that the current user is a project admin for at least one project. 
UserIsSysAdminCondition Will return shouldDisplay of true if the user has the SYSTEM_ADMIN global permission. 
UserIsTheLoggedInUserCondition Used to determine if the logged in user is the same as the profile user in the jira helper. 
UserLoggedInCondition Checks if this user is logged in  
VotingEnabledCondition Returns true if voting is enabled. 
WatchingEnabledCondition Returns true if watching is enabled.