Deprecated API


Contents
Deprecated Interfaces
com.atlassian.jira.issue.search.CustomFieldSortable
          Please use SortableCustomFieldSearcher instead. 
com.atlassian.jira.issue.index.IndexPath
          since 3.13 use IndexPath instead. 
com.atlassian.jira.ofbiz.OfBizEntityCreator
          Use OfBizDelegator instead 
com.atlassian.jira.portal.PortalManager
          since v3.13. Use PortalPageService instead. 
com.atlassian.jira.portal.PortalPageConfiguration
          since v3.13. Use PortalPage instead. 
com.atlassian.jira.user.UserAccessor
          UserAccessor is no longer used and is scheduled for removal in v4.0 
 

Deprecated Classes
com.atlassian.jira.issue.comparator.ComponentComparator
          use ProjectComponent instead of GenericValue and compare through ProjectComponentComparator 
com.atlassian.jira.issue.search.parameters.lucene.DateParameter
          You should now use AbsoluteDateRangeParameter which is much more efficient 
com.atlassian.jira.user.DefaultUserAccessor
          UserAccessor is no longer used and is scheduled for removal in v4.0 
com.atlassian.jira.util.EasyList
          since v3.13. Use EasyList instead. 
com.atlassian.jira.util.map.EasyMap
          since v3.13. Use EasyMap instead. 
com.atlassian.jira.workflow.condition.FilterCurrentStepCondition
          Use DisallowIfInStepCondition instead. 
com.atlassian.jira.workflow.function.misc.FlushCachesFunction
          This class is here for legacy reasons - it may be contained in other people's 
com.atlassian.jira.issue.index.PropertiesIndexPath
          since 3.13 use the IndexPath.PropertiesAdaptor instead. 
com.atlassian.jira.web.action.util.UserAction
          this action should no longer be used as all references in JIRA code have been removed, and tags can be harmful. TODO - remove this class for JIRA 4.2 
com.atlassian.jira.workflow.validator.UserPermissionValidator
          since 3.5.2 use PermissionValidator instead. Note this cannot be removed without an upgrade task for existing users. 
 

Deprecated Exceptions
com.atlassian.jira.exception.StoreException
          Please use DataAccessException instead. 
 

Deprecated Fields
com.atlassian.jira.issue.search.parameters.lucene.AbstractVersionParameter.ANY_VERSION
          since v3.11 this is really badly named, it actually means that the is no version set at all! 
com.atlassian.jira.web.component.IssueTableLayoutBean.EXCEL_VIEW
          use FieldRenderingContext.EXCEL_VIEW instead 
com.atlassian.jira.web.component.IssueTableLayoutBean.NAVIGATOR_VIEW
          use FieldRenderingContext.NAVIGATOR_VIEW instead 
com.atlassian.jira.plugin.searchrequestview.SearchRequestURLHandler.NO_HEADERS_PARAMETER
          use SearchRequestURLHandler.Parameter.NO_HEADERS instead. Deprecated in v3.13 
 

Deprecated Methods
com.atlassian.jira.web.bean.BulkEditBean._setSelectedIssueGVsForTesting(List)
            
com.atlassian.jira.service.util.handler.AbstractMessageHandler.addErrorAndReturnFalse(String)
          Please use AbstractMessageHandler.addError(String) and return your own false :-) TODO: remove in 4.1 
com.atlassian.jira.service.util.handler.AbstractMessageHandler.addErrorAndReturnFalse(String, Exception)
          Please use AbstractMessageHandler.addError(String, Exception) and return your own false :-) TODO: remove in 4.1 
com.atlassian.jira.portal.PortalPageConfiguration.addPortletConfig(String, int, int)
          since v3.13. Use PortalPageService.addPortalPagePortletConfiguration(com.atlassian.jira.bc.JiraServiceContext, PortalPage, String, int, int) instead. 
com.atlassian.jira.scheme.AbstractSchemeManager.addSchemeToProject(GenericValue, GenericValue)
          should use addSchemeToProject(Project, Scheme) instead 
com.atlassian.jira.util.IOUtil.bufferedCopy(InputStream, OutputStream)
          Buffering streams is actively harmful! See the class description as to why. Use IOUtil.copy(InputStream, OutputStream) instead. 
com.atlassian.jira.util.EasyList.build()
          since v3.13. Use EasyList.build() instead. 
com.atlassian.jira.util.map.EasyMap.build()
          since v3.13. Use EasyMap.build() instead. 
com.atlassian.jira.util.EasyList.build(Collection)
          since v3.13. Use EasyList.build(Collection) instead. 
com.atlassian.jira.util.EasyList.build(Object)
          since v3.13. Use EasyList.build(Object) instead. 
com.atlassian.jira.util.EasyList.build(Object[])
          since v3.13. Use EasyList.build(Object[]) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object)
          since v3.13. Use EasyList.build(Object, Object) instead. 
com.atlassian.jira.util.map.EasyMap.build(Object, Object)
          since v3.13. Use EasyMap.build(Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object) instead. 
com.atlassian.jira.util.map.EasyMap.build(Object, Object, Object, Object)
          since v3.13. Use EasyMap.build(Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.map.EasyMap.build(Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyMap.build(Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.map.EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.map.EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.map.EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.map.EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyMap.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
          since v3.13. Use EasyList.build(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) instead. 
com.atlassian.jira.util.EasyList.buildNonNull(Collection)
          since v3.13. Use EasyList.buildNonNull(Collection) instead. 
com.atlassian.jira.util.EasyList.buildNonNull(Object)
          since v3.13. Use EasyList.buildNonNull(Object) instead. 
com.atlassian.jira.util.EasyList.buildNonNull(Object[])
          since v3.13. Use EasyList.buildNonNull(Object[]) instead. 
com.atlassian.jira.util.EasyList.buildNull()
          since v3.13. Use EasyList.buildNull() instead. 
com.atlassian.jira.util.AttachmentUtils.checkValidAttachmentDirectory(GenericValue)
          use AttachmentUtils.checkValidAttachmentDirectory(com.atlassian.jira.issue.Issue) TODO: remove in 4.2 
com.atlassian.jira.bc.project.component.ProjectComponentManager.convertToGenericValue(ProjectComponent)
          don't use GenericValue use the ProjectComponent instead. 
com.atlassian.jira.bc.project.component.ProjectComponentManager.convertToGenericValues(Collection)
          don't use GenericValue use the ProjectComponent instead. 
com.atlassian.jira.util.EasyList.createList(int)
          since v3.13. Use EasyList.createList(int) instead. 
com.atlassian.jira.util.map.EasyMap.createMap(int)
          since v3.13. Use EasyMap.createMap(int) instead. 
com.atlassian.jira.portal.PortalManager.createPortalPageConfiguration(User, String, String)
          since v3.13. Use PortalPageService.createPortalPage(JiraServiceContext, PortalPage) instead. 
com.atlassian.jira.portal.PortalManager.createPortalPageConfiguration(User, String, String, Long)
          since v3.13. Use PortalPageService.createPortalPageByClone(JiraServiceContext, PortalPage, Long). 
com.atlassian.jira.project.version.VersionManager.createVersion(String, Date, String, GenericValue, Long)
          now use #createVersion with projectId instead of generic value 
com.atlassian.jira.portal.PortalManager.decreasePageConfigurationSequence(User, int)
          since v3.13. Use PortalPageService.decreasePortalPageSequence(JiraServiceContext, Long) instead. 
com.atlassian.jira.portal.PortalManager.deletePortalPageConfiguration(User, Long)
          since v3.13. Use PortalPageService.deletePortalPage(JiraServiceContext, Long) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.deletePortletConfig(Long)
          since v3.13. Use PortalPage.deletePortletConfig(Long) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.deletePortletConfigs()
          since v3.13. Use PortalPageService.deletePortalPagePortletConfiguration(com.atlassian.jira.bc.JiraServiceContext, PortalPage, Long) instead. 
com.atlassian.jira.project.version.DefaultVersionManager.deleteVersion(String, Version, String, Long, String, Long)
          since v3.13. Use VersionService.delete(com.atlassian.jira.bc.JiraServiceContext , com.atlassian.jira.bc.project.version.VersionService.ValidationResult) instead. 
com.atlassian.jira.project.version.VersionManager.deleteVersion(String, Version, String, Long, String, Long)
          since v3.13. Use VersionManager.deleteVersion(Version) instead. 
com.atlassian.jira.issue.IssueManager.execute(SearchRequest, User)
          Please use SearchProvider.search(SearchRequest, com.opensymphony.user.User, com.atlassian.jira.web.bean.PagerFilter) instead, which returns Issues. 
com.atlassian.jira.issue.managers.DefaultIssueManager.execute(SearchRequest, User)
          Please use SearchProvider.search(SearchRequest, com.opensymphony.user.User, com.atlassian.jira.web.bean.PagerFilter) instead, which returns Issues. 
com.atlassian.jira.web.util.OutlookDate.format(Date, Locale)
          Please use OutlookDate.format(java.util.Date) instead. 
com.atlassian.jira.service.JiraServiceContainerImpl.getAcceptedParams()
            
com.atlassian.jira.web.action.util.UserAction.getAdministrators()
            
com.atlassian.jira.portal.PortalManager.getAllPortlets()
          since v3.13. Use PortletAccessManager.getAllPortlets() instead. 
com.atlassian.jira.issue.search.SearchRequestStore.getAllRequests()
          use SearchRequestStore.getAll() 
com.atlassian.jira.issue.search.OfBizSearchRequestStore.getAllRequests()
          loads them all into memory use OfBizSearchRequestStore.getAll() instead 
com.atlassian.jira.web.action.issue.CreateIssue.getAssignee()
            
com.atlassian.jira.util.AttachmentUtils.getAttachmentDirectory(GenericValue)
          use AttachmentUtils.getAttachmentDirectory(com.atlassian.jira.issue.Issue) TODO: remove in 4.2 
com.atlassian.jira.issue.search.SearchRequest.getAuthor()
          since v3.13. Use SearchRequest.getOwnerUserName() instead. 
com.atlassian.jira.portal.PortalPageConfiguration.getColumn(int)
          since v3.13. Use PortalPage.getColumn(int) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.getColumnCount()
          since v3.13. Use PortalPage.getColumnCount() instead. 
com.atlassian.jira.issue.fields.DefaultFieldManager.getColumnLayoutManager()
          Declare your dependency and let PicoContainer resolve it instead 
com.atlassian.jira.issue.fields.FieldManager.getColumnLayoutManager()
          Declare your dependency and let PicoContainer resolve it instead 
com.atlassian.jira.portal.PortalPageConfiguration.getColumns()
          since v3.13. Use PortalPage.getColumns() instead. 
com.atlassian.jira.project.CachingProjectManager.getComponent(GenericValue, String)
          use ProjectComponentManager and ProjectComponent 
com.atlassian.jira.project.DefaultProjectManager.getComponent(GenericValue, String)
          use ProjectComponentManager instead 
com.atlassian.jira.project.CachingProjectManager.getComponent(Long)
          use ProjectComponentManager and ProjectComponent 
com.atlassian.jira.project.DefaultProjectManager.getComponent(Long)
          use ProjectComponentManager instead 
com.atlassian.jira.project.CachingProjectManager.getComponents(GenericValue)
          use ProjectComponentManager and ProjectComponent 
com.atlassian.jira.project.DefaultProjectManager.getComponents(GenericValue)
          use ProjectComponentManager instead 
com.atlassian.jira.issue.fields.FieldManager.getCustomFieldManager()
          Declare your dependency and let PicoContainer resolve it instead 
com.atlassian.jira.issue.managers.DefaultCustomFieldManager.getCustomFieldObjects(GenericValue)
          Use DefaultCustomFieldManager.getCustomFieldObjects(com.atlassian.jira.issue.Issue) 
com.atlassian.jira.ComponentManager.getCvsRepositoryUtil()
            
com.atlassian.jira.portal.PortalManager.getDefaultPortalPage()
          since v3.13. Use PortalPageService.getSystemDefaultPortalPage() instead. 
com.atlassian.jira.portal.PortalPageConfiguration.getDescription()
          since v3.13. Use PortalPage.getDescription() instead. 
com.atlassian.jira.issue.link.IssueLink.getDestination()
          Use IssueLink.getDestinationObject() instead. 
com.atlassian.jira.portal.PortalManager.getEditablePortalPageConfiguration(User, Long)
          since v3.13. Use PortalPageService.getPortalPage(com.atlassian.jira.bc.JiraServiceContext, Long) instead. 
com.atlassian.jira.issue.IssueManager.getEntitiesByIssue(String, GenericValue)
          Use IssueManager.getEntitiesByIssueObject(String, Issue) instead. 
com.atlassian.jira.issue.search.SearchSort.getField(String)
          use FieldManager.getField(id) 
com.atlassian.jira.issue.fields.DefaultFieldManager.getFieldLayoutManager()
          Declare your dependency and let PicoContainer resolve it instead 
com.atlassian.jira.issue.fields.FieldManager.getFieldLayoutManager()
          Declare your dependency and let PicoContainer resolve it instead 
com.atlassian.jira.issue.fields.CustomField.getFirstRelevantConfig(GenericValue, List)
            
com.atlassian.jira.issue.fields.CustomFieldImpl.getFirstRelevantConfig(GenericValue, List)
            
com.atlassian.jira.bc.project.component.ProjectComponentImpl.getGenericValue()
          use this object instead 
com.atlassian.jira.bc.project.component.ProjectComponent.getGenericValue()
          use this object instead of the stinky GenericValue! 
com.atlassian.jira.project.Project.getGenericValue()
          only use this if you need to utilize an older API method 
com.atlassian.jira.issue.fields.CustomField.getGenericValue()
            
com.atlassian.jira.issue.fields.CustomFieldImpl.getGenericValue()
            
com.atlassian.jira.security.util.GroupSelectorUtils.getGroupDisplayName(Group)
          since v3.8 this is a very short term method as it will not work with external User/Group management. 
com.atlassian.jira.security.util.GroupSelectorUtils.getGroupsFromDisplayName(String)
          since v3.8 this is a very short term method as it will not work with external User/Group management. 
com.atlassian.jira.portal.PortalPageConfiguration.getId()
          since v3.13. Use PortalPage.getId() instead. 
com.atlassian.jira.issue.IssueManager.getIssue(Long)
          Use IssueManager.getIssueObject(Long) instead. 
com.atlassian.jira.issue.IssueManager.getIssue(String)
          Use IssueManager.getIssueObject(String) instead. 
com.atlassian.jira.web.component.SimpleColumnLayoutItem.getIssueObject(GenericValue)
            
com.atlassian.jira.issue.IssueImpl.getIssueObject(GenericValue)
          You should construct this yourself if at all possible, or use IssueFactory.getIssue(org.ofbiz.core.entity.GenericValue) instead. 
com.atlassian.jira.config.ConstantsManager.getIssueType(String)
          Use ConstantsManager.getIssueTypeObject(String) instead 
com.atlassian.jira.config.ConstantsManager.getIssueTypes()
          Use ConstantsManager.getRegularIssueTypeObjects() instead. 
com.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManager.getIssueTypesForProject(GenericValue)
          Use of GenericValue is discouraged. Deprecated since: 3.9. Use IssueTypeSchemeManager.getIssueTypesForProject(Project) instead. 
com.atlassian.jira.issue.IssueManager.getIssueWatchers(GenericValue)
          Use IssueManager.getIssueWatchers(Issue) instead 
com.atlassian.jira.portal.PortalPageConfiguration.getLeftPortletConfigs()
          since v3.13. Use PortalPage.getLeftPortletConfigs() instead. 
com.atlassian.jira.portal.PortalPageConfiguration.getPageName()
          since v3.13. Use PortalPage.getName() instead. 
com.atlassian.jira.issue.Issue.getParent()
          Use Issue.getParentObject() instead. 
com.atlassian.jira.issue.IssueImpl.getParent()
          Use IssueImpl.getParentObject() instead. 
com.atlassian.jira.issue.AbstractIssue.getParent()
          Use AbstractIssue.getParentObject() instead. 
com.atlassian.jira.ComponentManager.getPluginManager()
          will be removed with plugin manager, use getPluginAccessor or getPluginController 
com.atlassian.jira.portal.PortalManager.getPortalPageConfiguration(User, Long)
          since v3.13. Use PortalPageService.getPortalPage(com.atlassian.jira.bc.JiraServiceContext, Long) and PortalPageService.getSystemDefaultPortalPage() and an if statement instead. 
com.atlassian.jira.portal.PortalManager.getPortalPageConfigurations(User)
          since v3.13. Use PortalPageService.getFavouritePortalPages(com.opensymphony.user.User) instead and check the owner of the PortalPage is the same user. 
com.atlassian.jira.portal.PortalManager.getPortlet(String)
          since v3.13. Use PortletAccessManager.getPortlet(String) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.getPortletConfig(Long)
          since v3.13. Use PortalPage.getPortletConfig(Long) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.getPortletConfigurations(String)
          since v3.13. Use PortalPage.getPortletConfigurations(String) instead. 
com.atlassian.jira.portal.PortalManager.getPortlets(User)
          since v3.13. Use PortletAccessManager.getVisiblePortlets(com.opensymphony.user.User) instead. 
com.atlassian.jira.config.ConstantsManager.getPriorities()
          Use ConstantsManager.getPriorityObjects() instead 
com.atlassian.jira.config.ConstantsManager.getPriority(String)
          Use ConstantsManager.getPriorityObject(String) instead. 
com.atlassian.jira.plugin.webfragment.model.JiraHelper.getProject()
          please use JiraHelper.getProjectObject() instead 
com.atlassian.jira.web.action.browser.Browser.getProject()
          This method is deprecated since v3.10. Please use Browser.getProjectObject() instead. 
com.atlassian.jira.issue.Issue.getProject()
          please use getProjectObject (this still implicitly relies on the GV), but it is a start! 
com.atlassian.jira.issue.search.SearchRequest.getProject()
          since 3.5 (for removal in 3.8).

To retrieve the projects that are being searched by a search request check for the existance of ProjectParameter:

                                                                SearchParameter projParam = searchRequest.getParam(DocumentConstants.PROJECT_ID)
                         
If the projParam is null then all projects are being searched. (TODO Check that this is indeed true).

If the param is not null, to retrieve the project ids that are being searched, call:

                         Collection searchedProjectIds = projParam.getValues();
                         
searchedProjectIds should be a Collection of Longs.
 
com.atlassian.jira.project.ProjectManager.getProject(Long)
          please use ProjectManager.getProjectObj(java.lang.Long) 
com.atlassian.jira.project.ProjectManager.getProjectByKey(String)
          please use the ProjectManager.getProjectObjByKey(java.lang.String) method to return a Project object 
com.atlassian.jira.issue.IssueManager.getProjectIssues(GenericValue)
          only used in test cases, should use a search provider instead. 
com.atlassian.jira.scheme.AbstractSchemeManager.getProjects(GenericValue)
          you should now use getProject(Scheme) 
com.atlassian.jira.issue.search.SearchRequestManager.getRequest(User, Long)
          since v3.13. Use SearchRequestService.getFilter(com.atlassian.jira.bc.JiraServiceContext, Long) 
com.atlassian.jira.issue.search.DefaultSearchRequestManager.getRequests()
          v3.13 Put in for backwards compatibility 
com.atlassian.jira.issue.search.SearchRequestManager.getRequests()
          since v3.13. Use SearchRequestService.getFavouriteFilters(com.opensymphony.user.User) or search functions 
com.atlassian.jira.issue.search.DefaultSearchRequestManager.getRequests(User)
          v3.13 Put in for backwards compatibility 
com.atlassian.jira.issue.search.SearchRequestManager.getRequests(User)
          since v3.13. Use SearchRequestService.getFavouriteFilters(com.opensymphony.user.User) or search functions 
com.atlassian.jira.config.ConstantsManager.getResolution(String)
          Use ConstantsManager.getResolutionObject(String) instead. 
com.atlassian.jira.config.ConstantsManager.getResolutions()
          Use ConstantsManager.getResolutionObjects() instead. 
com.atlassian.jira.portal.PortalPageConfiguration.getRightPortletConfigs()
          since v3.13. Use PortalPage.getRightPortletConfigs() instead. 
com.atlassian.jira.issue.search.SearchRequestManager.getSearchRequest(User, Long)
          since v3.13. Use SearchRequestService.getFilter(com.atlassian.jira.bc.JiraServiceContext, Long) 
com.atlassian.jira.ComponentManager.getSearchRequestManager()
          v3.13 please use SearchRequestService 
com.atlassian.jira.web.action.issue.AbstractIssueSelectAction.getSecurityLevels()
          UserAccessor is no longer used and is scheduled for removal in v4.0 
com.atlassian.jira.web.action.issue.AbstractIssueSelectAction.getSecurityLevels(GenericValue)
          UserAccessor is no longer used and is scheduled for removal in v4.0 
com.atlassian.jira.issue.link.IssueLink.getSource()
          Use IssueLink.getSourceObject() instead. 
com.atlassian.jira.issue.Issue.getStatus()
          Use Issue.getStatusObject() instead. 
com.atlassian.jira.bean.SubTask.getSubTaskIssue()
          Use SubTask.getSubTaskIssueObject() instead. 
com.atlassian.jira.issue.Issue.getSubTasks()
          Use Issue.getSubTaskObjects() 
com.atlassian.jira.config.DefaultSubTaskManager.getSubTasks(GenericValue)
          Use DefaultSubTaskManager.getSubTaskObjects(com.atlassian.jira.issue.Issue) instead. 
com.atlassian.jira.config.SubTaskManager.getSubTasks(GenericValue)
          Use SubTaskManager.getSubTaskObjects(com.atlassian.jira.issue.Issue) instead. 
com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getText(String)
          Please use i18nBean.getText() instead 
com.atlassian.jira.security.JiraAuthenticationContext.getText(String)
          Use getText() method on JiraAuthenticationContext.getI18nBean(). 
com.atlassian.jira.web.action.util.UserAction.getUser(String)
            
com.atlassian.jira.user.util.GlobalUserPreferencesUtilImpl.getUserLocalePreferenceList(String)
          do not use this, it is only for old data and will not work properly once Crowd integration is turned on 
com.atlassian.jira.scheme.AbstractSchemeManager.getUsers(Long, GenericValue)
          Use AbstractSchemeManager.getUsers(Long, com.atlassian.jira.permission.PermissionContext) instead. 
com.atlassian.jira.scheme.SchemeManager.getUsers(Long, GenericValue)
          Use SchemeManager.getUsers(Long, com.atlassian.jira.permission.PermissionContext) instead. 
com.atlassian.jira.imports.project.mapper.ProjectImportIdMapper.getValuesFromImport()
          Use getRegisteredOldIds() 
com.atlassian.jira.imports.project.mapper.AbstractMapper.getValuesFromImport()
          Use getRegisteredOldIds() 
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType.getVelocityParameters(Issue)
          Use the method AbstractCustomFieldType.getVelocityParameters(Issue, CustomField, FieldLayoutItem) instead 
com.atlassian.jira.project.version.VersionManager.getVersion(GenericValue, String)
          Use VersionManager.getVersion(Long,String) instead 
com.atlassian.jira.project.version.VersionManager.getVersions(GenericValue)
          use #getVersions(Long) 
com.atlassian.jira.project.version.VersionManager.getVersionsReleased(GenericValue, boolean)
          use VersionManager.getVersionsReleased(Long,boolean) instead 
com.atlassian.jira.project.version.VersionManager.getVersionsReleasedDesc(GenericValue, boolean)
          use VersionManager.getVersionsReleasedDesc(Long, boolean) instead 
com.atlassian.jira.project.version.VersionManager.getVersionsUnarchived(GenericValue)
          Use VersionManager.getVersionsUnarchived(Long) instead. Since v3.10 
com.atlassian.jira.project.version.VersionManager.getVersionsUnreleased(GenericValue, boolean)
          Use VersionManager.getVersionsUnreleased(Long,boolean) instead, since v3.10. 
com.atlassian.jira.issue.fields.layout.field.FieldLayout.getVisibleLayoutItems(User, GenericValue, List)
          Use FieldLayout.getVisibleLayoutItems(com.opensymphony.user.User, com.atlassian.jira.project.Project, java.util.List) instead. Since: 3.9. 
com.atlassian.jira.issue.search.SearchRequestManager.getVisibleRequests(User)
          since v3.13. Use SearchRequestService.getFavouriteFilters(com.opensymphony.user.User) or search functions 
com.atlassian.jira.portal.PortalManager.hasAccessToPage(User, Long)
          since v3.13. Use PortalPageService.getPortalPage(com.atlassian.jira.bc.JiraServiceContext, Long) and check that its not null. 
com.atlassian.jira.security.PermissionManager.hasPermission(int, GenericValue, User)
          use PermissionManager.hasPermission(int, Issue, User) for Issues or PermissionManager.hasPermission(int, Project, User) for Projects since JIRA 3.11 
com.atlassian.jira.security.PermissionManager.hasPermission(int, GenericValue, User, boolean)
          use PermissionManager.hasPermission(int, Issue, User) for Issues or PermissionManager.hasPermission(int, Project, User, boolean) for Projects since 3.11 
com.atlassian.jira.portal.PortalManager.increasePageConfigurationSequence(User, int)
          since v3.13. Use PortalPageService.increasePortalPageSequence(JiraServiceContext, Long) instead. 
com.atlassian.jira.web.action.IssueActionSupport.isCustomFieldHidden(Long, Long, String)
          Use FieldVisibilityBean.isCustomFieldHidden(java.lang.Long, java.lang.Long, java.lang.String) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.isDefault()
          since v3.13. Use PortalPage.isSystemDefaultPortalPage() instead. 
com.atlassian.jira.portal.PortalManager.isDefaultPortalPageName(String)
          since v3.13. There is no direct replacement for this method since the name "Dashboard" is no longer magic. 
com.atlassian.jira.web.action.IssueActionSupport.isFieldHidden(Long, String, String)
          Use FieldVisibilityBean.isFieldHidden(java.lang.Long, java.lang.String, java.lang.String) instead. 
com.atlassian.jira.web.action.IssueActionSupport.isFieldHidden(String)
          Use FieldVisibilityBean.isFieldHidden(com.opensymphony.user.User, java.lang.String) instead 
com.atlassian.jira.web.action.JiraWebActionSupport.isHasPermission(String, GenericValue)
          Please use either JiraWebActionSupport.isHasIssuePermission(String,GenericValue), JiraWebActionSupport.isHasIssuePermission(int,GenericValue) or JiraWebActionSupport.isHasProjectPermission(String,GenericValue), JiraWebActionSupport.isHasProjectPermission(int,GenericValue). 
com.atlassian.jira.portal.PortalManager.isMultiplePortalPagesEnabled()
          since v3.13. Use PortalPageService.isMultiplePortalPagesEnabled() instead. 
com.atlassian.jira.event.issue.IssueEventListener.issueAssigned(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueClosed(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueCommented(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueCreated(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueDeleted(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueGenericEvent(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueMoved(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueReopened(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueResolved(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueStarted(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueStopped(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueUpdated(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.event.issue.IssueEventListener.issueWorkLogged(IssueEvent)
          Please call IssueEventListener.workflowEvent(IssueEvent) 
com.atlassian.jira.portal.PortalManager.isUsingDefaultPortalPageConfigurations(User)
          since v3.13. Use PortalPageService.getOwnedPortalPages(com.opensymphony.user.User) and check that the returned collection is empty . 
com.atlassian.jira.workflow.WorkflowManager.migrateIssueToWorkflow(GenericValue, JiraWorkflow, GenericValue)
          Please use WorkflowManager.migrateIssueToWorkflow(com.atlassian.jira.issue.MutableIssue,JiraWorkflow,com.atlassian.jira.issue.status.Status). Since: 3.9. 
com.atlassian.jira.portal.PortalPageConfiguration.movePortletPositionColumn(Long, Integer)
          since v3.13. Use PortalPage.movePortletPositionColumn(Long, Integer) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.movePortletPositionFirst(Long)
          since v3.13. Use PortalPage.movePortletPositionFirst(Long) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.movePortletPositionLast(Long)
          since v3.13. Use PortalPage.movePortletPositionLast(Long) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.movePortletPositionRow(Long, boolean)
          since v3.13. Use PortalPage.movePortletPositionRow(Long, boolean) instead. 
com.atlassian.jira.portal.PortalManager.movePortlets(Long[], PortalPageConfiguration, PortalPageConfiguration)
          since v3.13. Use PortalPageService.movePortletConfigurationToPortalPage(JiraServiceContext, PortalPage, PortalPage, Long) instead. 
com.atlassian.jira.portal.PortalManager.moveToEndPageConfigurationSequence(User, int)
          since v3.13. Use PortalPageService.moveToEndPortalPageSequence(JiraServiceContext, Long) instead. 
com.atlassian.jira.portal.PortalManager.moveToStartPageConfigurationSequence(User, int)
          since v3.13. Use PortalPageService.moveToStartPortalPageSequence(JiraServiceContext, Long) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.reload()
          since v3.13. Use PortalPageService.getPortalPage(com.atlassian.jira.bc.JiraServiceContext, Long) instead. 
com.atlassian.jira.scheme.AbstractSchemeManager.removeSchemesFromProject(GenericValue)
          should use removeSchemesFromProject(Project) instead 
com.atlassian.jira.portal.PortalManager.resetDefault(String)
          since v3.13. There is no need to call this method. 
com.atlassian.jira.config.SubTaskManager.resetSequences(GenericValue)
          since 3.9 use SubTaskManager.resetSequences(com.atlassian.jira.issue.Issue) 
com.atlassian.jira.issue.search.SearchProvider.search(SearchRequest, User)
          - please use SearchProvider.search(SearchRequest,com.opensymphony.user.User,com.atlassian.jira.web.bean.PagerFilter) instead. 
com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(SearchRequest, User)
            
com.atlassian.jira.web.action.issue.CreateIssue.setAssignee(String)
            
com.atlassian.jira.issue.search.SearchRequest.setAuthor(User)
          since v3.13. Use SearchRequest.setOwnerUserName(String) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.setDescription(String)
          since v3.13. Use PortalPage.setDescription(String) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.setPageName(String)
          since v3.13. Use PortalPage.setName(String) instead. 
com.atlassian.jira.portal.PortalPageConfiguration.store()
          since v3.13. Use PortalPageService.saveAllPortalPagePortletConfiguration(com.atlassian.jira.bc.JiraServiceContext, PortalPage) ()} instead. 
com.atlassian.jira.util.JiraEntityUtils.updateDependentEntities(GenericValue, Collection, String, String)
          please use JiraEntityUtils.updateDependentEntitiesCheckId(org.ofbiz.core.entity.GenericValue, java.util.Collection, String, String) instead, as it compares ids rather than GenericValues 
com.atlassian.jira.security.util.GroupSelectorUtils.updateGroupName(Group, String, String)
          since v3.8 this is a very short term method as it will not work with external User/Group management. 
com.atlassian.jira.portal.PortalManager.updatePortalPage(User, Long, String, String)
          since v3.12. Use PortalPageService.updatePortalPage(JiraServiceContext, PortalPage) instead. 
com.atlassian.jira.issue.subscription.SubscriptionManager.updateSubscription(User, Long, Map, Trigger)
          Should use the method with an explicit list of fields 
 

Deprecated Constructors
com.atlassian.jira.service.util.handler.AbstractCommentHandler()
          Please use other constructor that explicitly sets dependencies 
com.atlassian.jira.issue.link.IssueLinkType(GenericValue, IssueLinkTypeManager)
          use IssueLinkType(GenericValue) we don't need the ILTM. 
com.atlassian.jira.plugin.webfragment.model.JiraHelper(HttpServletRequest, GenericValue)
          please use JiraHelper.JiraHelper(javax.servlet.http.HttpServletRequest,com.atlassian.jira.project.Project) instead 
com.atlassian.jira.portal.PortletImpl(JiraAuthenticationContext)
          Use full constructor instead. 
com.atlassian.jira.issue.search.SearchRequest(User)
          since v3.13. Use SearchRequest.SearchRequest(String) instead. 
com.atlassian.jira.issue.search.SearchRequest(User, String, String)
          since v3.13. Use SearchRequest.SearchRequest(String, String, String) instead. 
com.atlassian.jira.util.velocity.VelocityRequestContextFactory()
          Please use VelocityRequestContextFactory.VelocityRequestContextFactory(com.atlassian.jira.config.properties.ApplicationProperties) instead 
 



Copyright © 2002-2008 Atlassian. All Rights Reserved.