|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.pyxis.greenhopper.jira.util.JiraUtil
public class JiraUtil
Constructor Summary | |
---|---|
JiraUtil()
|
Method Summary | |
---|---|
static void |
assign(com.atlassian.jira.issue.Issue issue,
java.lang.String assignee,
boolean sendEmail)
Assigns the Issue to the given User SECURED - LEVEL - ASSIGNABLE USER |
static void |
changeComponents(com.atlassian.jira.issue.Issue issue,
java.util.Collection<java.lang.Long> componentIds,
boolean sendEmail)
Changes the version pf the Project SECURED - LEVEL - EDIT ISSUE |
static void |
changeComponents(com.atlassian.jira.issue.Issue issue,
java.util.Collection<java.lang.Long> componentIds,
com.opensymphony.user.User remoteUser,
boolean sendEmail)
Changes the version pf the Project SECURED - LEVEL - EDIT ISSUE |
static com.atlassian.jira.util.ErrorCollection |
changeStatus(com.atlassian.jira.issue.Issue issue,
int action,
java.lang.String resolution,
java.util.HashMap<java.lang.String,java.lang.Object> args)
Changes the status of the Issue. |
static void |
changeVersions(com.atlassian.jira.issue.Issue issue,
java.util.Collection<java.lang.Long> versionIds,
boolean sendEmail)
Changes the version pf the Project SECURED - LEVEL - EDIT ISSUE |
static void |
changeVersions(com.atlassian.jira.issue.Issue issue,
java.util.Collection<java.lang.Long> versionIds,
com.opensymphony.user.User remoteUser,
boolean sendEmail)
Changes the version pf the Project SECURED - LEVEL - EDIT ISSUE |
static void |
checkGlobalPermission(int permission)
|
static void |
checkPermission(com.atlassian.jira.issue.Issue issue,
int permission)
|
static void |
checkPermission(com.atlassian.jira.project.Project project,
int permission)
|
static void |
checkPermission(com.atlassian.jira.project.Project project,
int permission,
com.opensymphony.user.User user)
|
static int |
dateDiffInWorkingDays(java.util.Date beginDate,
java.util.Date endDate,
int nbDaysInWeek)
|
static int |
daysPerWeek()
|
static webwork.dispatcher.ActionResult |
dispatch(com.atlassian.jira.issue.MutableIssue issue,
long event,
boolean sendEmail)
|
static com.opensymphony.workflow.loader.ActionDescriptor |
getActionDescriptor(com.atlassian.jira.issue.MutableIssue issue,
int action)
|
static java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> |
getAllComponents(com.atlassian.jira.project.Project project)
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getAllCustomFields()
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getAllCustomFields(com.atlassian.jira.project.Project project)
|
static java.util.Collection<java.lang.String> |
getAllIssueTypeIds()
|
static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getAllIssueTypes()
|
static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getAllNonSubtaskTypes()
|
static java.util.Collection<com.atlassian.jira.issue.priority.Priority> |
getAllPriorities()
|
static java.util.Set<com.atlassian.jira.issue.resolution.Resolution> |
getAllResolutions()
|
static java.util.List<org.ofbiz.core.entity.GenericValue> |
getAllSecurityLevels(com.atlassian.jira.project.Project project)
|
static java.util.Collection<com.atlassian.jira.issue.status.Status> |
getAllStatuses()
|
static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getAllSubtaskTypes()
|
static java.util.Collection<com.atlassian.jira.project.version.Version> |
getAllVersions(com.atlassian.jira.project.Project project)
|
static java.util.Collection<com.atlassian.jira.workflow.JiraWorkflow> |
getAllWorkflows()
|
static com.atlassian.jira.config.properties.ApplicationProperties |
getApplicationProperties()
|
static java.util.TreeSet<com.opensymphony.user.User> |
getAssignableUsers(com.atlassian.jira.project.Project project)
|
static java.util.Collection<java.lang.String> |
getAssociatedWorkflows(org.ofbiz.core.entity.GenericValue status)
|
static java.lang.String |
getCalendarLocale()
|
static CapacityService |
getCapacityService()
|
static java.util.List<com.atlassian.jira.issue.changehistory.ChangeHistory> |
getChangeHistories(com.atlassian.jira.issue.Issue issue)
|
static com.atlassian.jira.issue.changehistory.ChangeHistoryManager |
getChangeHistoryManager()
|
static com.atlassian.jira.issue.comments.CommentManager |
getCommentManager()
|
static com.atlassian.jira.bc.issue.comment.CommentService |
getCommentService()
|
static com.atlassian.jira.bc.project.component.ProjectComponent |
getComponent(com.opensymphony.user.User user,
java.lang.Long componentId)
|
static org.ofbiz.core.entity.GenericValue |
getComponentGV(com.atlassian.jira.bc.project.component.ProjectComponent component)
|
static com.atlassian.jira.issue.fields.config.FieldConfig |
getConfig(com.atlassian.jira.project.Project project,
java.lang.String issueTypeId,
com.atlassian.jira.issue.fields.CustomField field)
|
static com.atlassian.jira.config.ConstantsManager |
getConstantsManager()
|
static com.atlassian.jira.issue.fields.CustomField |
getCustomField(java.lang.String id)
|
static java.lang.Object |
getCustomFieldDefaultValue(com.atlassian.jira.project.Project project,
java.lang.String issueTypeId,
com.atlassian.jira.issue.fields.CustomField customField)
|
static java.lang.String |
getCustomFieldHtmlValue(com.atlassian.jira.issue.fields.CustomField customField,
com.atlassian.jira.issue.Issue issue)
|
static com.atlassian.jira.issue.CustomFieldManager |
getCustomFieldManager()
|
static org.ofbiz.core.entity.GenericValue |
getDefaultSecurity(com.atlassian.jira.project.Project project)
|
static com.atlassian.core.util.DateUtils.Duration |
getDurationUnit()
|
static java.util.TreeSet<com.atlassian.jira.issue.search.SearchRequest> |
getElligibleFiltersFor(java.lang.Long projectId)
|
static com.atlassian.jira.issue.fields.config.manager.FieldConfigSchemeManager |
getFieldConfigSchemeManager()
|
static com.atlassian.jira.issue.fields.layout.field.FieldLayoutManager |
getFieldLayoutManager()
|
static com.atlassian.jira.issue.fields.FieldManager |
getFieldManager()
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getFieldsForType(java.lang.Long projectId,
java.lang.String issueType)
|
static com.atlassian.jira.web.util.OutlookDate |
getGadgetOutlookDate()
|
static com.atlassian.jira.issue.fields.config.FieldConfig |
getGlobalConfig(com.atlassian.jira.issue.fields.CustomField field)
|
static GreenHopper |
getGreenHopperService()
|
static com.atlassian.jira.issue.MutableIssue |
getIssue(java.lang.Long id)
|
static com.atlassian.jira.issue.MutableIssue |
getIssue(java.lang.String key)
|
static com.atlassian.jira.issue.IssueFactory |
getIssueFactory()
|
static com.atlassian.jira.issue.link.IssueLinkTypeManager |
getIssueLinkTypeManager()
|
static java.util.Collection<com.atlassian.jira.issue.link.IssueLinkType> |
getIssueLinkTypes()
|
static com.atlassian.jira.issue.IssueManager |
getIssueManager()
|
static com.atlassian.jira.issue.search.managers.IssueSearcherManager |
getIssueSearchRequestManager()
|
static com.atlassian.jira.issue.security.IssueSecurityLevelManager |
getIssueSecurityLevelManager()
|
static com.atlassian.jira.issue.security.IssueSecuritySchemeManager |
getIssueSecuritySchemeManager()
|
static com.atlassian.jira.issue.issuetype.IssueType |
getIssueTypeById(java.lang.String id)
|
static java.util.Collection<java.lang.String> |
getIssueTypeIds(com.atlassian.jira.project.Project project)
|
static com.atlassian.jira.web.action.admin.issuetypes.IssueTypeManageableOption |
getIssueTypeManageableOption()
|
static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getIssueTypes(com.atlassian.jira.project.Project project)
|
static com.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManager |
getIssueTypeSchemeManager()
|
static com.atlassian.jira.issue.util.IssueUpdater |
getIssueUpdater()
|
static com.atlassian.jira.issue.IssueUtilsBean |
getIssueUtilsBean()
|
static com.atlassian.jira.util.JiraDurationUtils |
getJiraDurationUtils()
|
static com.atlassian.jira.plugin.webfragment.model.JiraHelper |
getJiraHelper(com.atlassian.jira.project.Project project)
|
static com.atlassian.jira.bc.JiraServiceContext |
getJiraServiceContext()
|
static com.atlassian.jira.bc.issue.label.LabelService |
getLabelService()
|
static com.opensymphony.workflow.loader.StepDescriptor |
getLinkedStep(com.atlassian.jira.issue.MutableIssue issue,
java.lang.String statusId)
|
static com.atlassian.jira.issue.link.IssueLinkType |
getLinkType(java.lang.Long linkId)
|
static java.util.Date |
getLogDate(java.lang.String logDate)
Set the work log date entered by the user |
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getMultiSelectField()
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getMultiSelectField(com.atlassian.jira.project.Project project)
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getMultiSelectField(com.atlassian.jira.project.Project project,
java.lang.String issueTypeId)
|
static com.atlassian.jira.issue.MutableIssue |
getNewIssue(java.lang.Long projectId,
java.lang.String issueType,
java.lang.String parentKey,
com.opensymphony.user.User user)
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getNumberCFTypeFields()
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getNumberCFTypeFields(com.atlassian.jira.project.Project project)
|
static com.atlassian.jira.issue.fields.option.OptionSetManager |
getOptionSetManager()
|
static com.atlassian.jira.web.util.OutlookDate |
getOutlookDate()
|
static com.atlassian.jira.permission.PermissionSchemeManager |
getPermissionSchemeManager()
|
static java.lang.String |
getPrettyDuration(java.lang.Long v)
|
static com.atlassian.jira.issue.priority.Priority |
getPriorityById(java.lang.String id)
|
static com.atlassian.jira.project.Project |
getProject(java.lang.Long selectedProjectId)
|
static com.atlassian.jira.bc.project.component.ProjectComponentService |
getProjectComponentService()
|
static org.ofbiz.core.entity.GenericValue |
getProjectGV(com.atlassian.jira.project.Project project)
|
static com.atlassian.jira.project.ProjectManager |
getProjectManager()
|
static com.opensymphony.module.propertyset.PropertySet |
getPropertySet(java.lang.String entityName,
java.lang.Long entityId)
Locate PropertySet using PropertyStore for this sequenceName/sequenceId mapping. |
static java.util.List<java.lang.Long> |
getReleasedVersionAsParam(java.lang.Long projectId)
|
static java.util.Collection<com.atlassian.jira.project.version.Version> |
getReleasedVersions(com.atlassian.jira.project.Project project)
|
static com.opensymphony.user.User |
getRemoteUser()
|
static java.lang.String |
getRenderedDescription(com.atlassian.jira.issue.Issue issue)
|
static java.util.TreeSet<com.opensymphony.user.User> |
getReporterUsers(com.atlassian.jira.project.Project project)
|
static com.atlassian.jira.issue.resolution.Resolution |
getResolution(java.lang.String id)
|
static com.atlassian.jira.issue.search.SearchRequest |
getSearchRequest(java.lang.Long requestId)
|
static com.atlassian.jira.issue.search.SearchRequestManager |
getSearchRequestManager()
|
static com.atlassian.jira.bc.filter.SearchRequestService |
getSearchRequestService()
|
static java.lang.String |
getShortDuration(java.lang.Long v)
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getSortableCustomField()
|
static java.util.List<com.atlassian.jira.issue.fields.CustomField> |
getSortableCustomField(com.atlassian.jira.project.Project project)
|
static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getStandardIssueTypes(com.atlassian.jira.project.Project project)
|
static StatService |
getStatService()
|
static com.atlassian.jira.issue.status.Status |
getStatus(java.lang.String id)
|
static com.atlassian.jira.issue.status.Status |
getStatusByName(java.lang.String name)
|
static com.atlassian.jira.config.SubTaskManager |
getSubTaskManager()
|
static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getSubtaskTypes(com.atlassian.jira.project.Project project)
|
static com.atlassian.jira.issue.context.manager.JiraContextTreeManager |
getTreeManager()
|
static java.util.Collection<com.atlassian.jira.project.version.Version> |
getUnreleasedVersions(com.atlassian.jira.project.Project project)
|
static com.opensymphony.user.User |
getUser(java.lang.String name)
|
static com.atlassian.core.user.preferences.Preferences |
getUserPreferences()
|
static com.atlassian.jira.project.version.Version |
getVersion(java.lang.Long versionId)
|
static com.atlassian.jira.project.version.VersionManager |
getVersionManager()
|
static com.atlassian.jira.bc.project.version.VersionService |
getVersionService()
|
static com.atlassian.jira.workflow.WorkflowManager |
getWorkflowManager()
|
static com.atlassian.jira.issue.worklog.WorklogManager |
getWorkLogManager()
|
static java.util.List<com.atlassian.jira.issue.worklog.Worklog> |
getWorkLogs(com.atlassian.jira.issue.Issue issue)
|
static com.atlassian.jira.bc.issue.worklog.WorklogService |
getWorklogService()
|
static boolean |
hasGlobalRights(int permission)
|
static boolean |
hasRights(com.atlassian.jira.issue.Issue issue,
int permission)
|
static boolean |
hasRights(com.atlassian.jira.issue.Issue issue,
int permission,
com.opensymphony.user.User user)
|
static boolean |
hasRights(com.atlassian.jira.project.Project project,
int permission)
|
static boolean |
hasRights(com.atlassian.jira.project.Project project,
int permission,
com.opensymphony.user.User user)
|
static int |
hoursPerDay()
|
static boolean |
isSecurityEnabled(com.atlassian.jira.project.Project project)
|
static boolean |
isSubtaskAllowed(com.atlassian.jira.project.Project project)
Deprecated. |
static boolean |
isTimeTrackingOn()
Deprecated. |
static boolean |
isTypeAssociatedToDefaultScheme(java.lang.String issueTypeId)
|
static boolean |
isUnassignAllowed()
|
static void |
logWork(com.atlassian.jira.issue.Issue issue,
java.lang.String timeLogged,
java.lang.String newEstimate,
java.lang.String comment,
java.lang.String logDate)
Deprecated. |
static void |
reIndex(com.atlassian.jira.issue.Issue issue)
|
static void |
reIndexAll()
|
static void |
reIndexIssues(java.util.Collection issues)
|
static void |
removePropertySet(java.lang.String entityName,
java.lang.Long entityId,
java.lang.String dataName)
|
static void |
setCustomFieldDate(com.atlassian.jira.issue.Issue issue,
java.lang.String date,
java.lang.String fieldId)
Set the Issue Custom Field Date SECURED - LEVEL - EDIT_ISSUE |
static void |
setCustomFieldSimple(com.atlassian.jira.issue.Issue issue,
java.lang.String value,
java.lang.String fieldId)
Set the Issue Custom Field Simple Value SECURED - LEVEL - EDIT_ISSUE |
static java.util.HashMap |
toFieldParams(com.atlassian.jira.issue.fields.OrderableField field,
java.lang.Object value)
|
static void |
updateComponentName(com.atlassian.jira.project.Project project,
java.lang.String name,
java.lang.Long componentId,
com.opensymphony.user.User user)
Update Component Name |
static void |
updateCustomField(com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.issue.fields.OrderableField field,
java.lang.Object value)
Updates the card value. |
static void |
updateVersionName(com.atlassian.jira.project.Project project,
java.lang.String name,
com.atlassian.jira.project.version.Version version)
Update Version Name |
static void |
updateVersionReleaseDate(com.atlassian.jira.project.Project project,
java.lang.String date,
com.atlassian.jira.project.version.Version version)
Releases the version SECURED - LEVEL - PROJECT ADMIN |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraUtil()
Method Detail |
---|
public static org.ofbiz.core.entity.GenericValue getProjectGV(com.atlassian.jira.project.Project project)
public static org.ofbiz.core.entity.GenericValue getComponentGV(com.atlassian.jira.bc.project.component.ProjectComponent component)
public static java.util.TreeSet<com.opensymphony.user.User> getAssignableUsers(com.atlassian.jira.project.Project project)
public static java.util.TreeSet<com.opensymphony.user.User> getReporterUsers(com.atlassian.jira.project.Project project)
public static void changeVersions(com.atlassian.jira.issue.Issue issue, java.util.Collection<java.lang.Long> versionIds, boolean sendEmail) throws java.lang.Exception
issue
- versionIds
- sendEmail
-
java.lang.Exception
public static void changeVersions(com.atlassian.jira.issue.Issue issue, java.util.Collection<java.lang.Long> versionIds, com.opensymphony.user.User remoteUser, boolean sendEmail) throws java.lang.Exception
issue
- versionIds
- remoteUser
- sendEmail
-
java.lang.Exception
public static void changeComponents(com.atlassian.jira.issue.Issue issue, java.util.Collection<java.lang.Long> componentIds, boolean sendEmail) throws java.lang.Exception
issue
- componentIds
- sendEmail
-
java.lang.Exception
public static void changeComponents(com.atlassian.jira.issue.Issue issue, java.util.Collection<java.lang.Long> componentIds, com.opensymphony.user.User remoteUser, boolean sendEmail) throws java.lang.Exception
issue
- componentIds
- remoteUser
- sendEmail
-
java.lang.Exception
public static com.atlassian.jira.util.ErrorCollection changeStatus(com.atlassian.jira.issue.Issue issue, int action, java.lang.String resolution, java.util.HashMap<java.lang.String,java.lang.Object> args) throws GreenHopperException, com.atlassian.jira.exception.PermissionException
issue
- action
-
GreenHopperException
com.atlassian.jira.exception.PermissionException
public static void assign(com.atlassian.jira.issue.Issue issue, java.lang.String assignee, boolean sendEmail) throws java.lang.Exception
issue
-
java.lang.Exception
java.lang.Exception
public static void setCustomFieldDate(com.atlassian.jira.issue.Issue issue, java.lang.String date, java.lang.String fieldId) throws java.lang.Exception
issue
- date
- -- Custom Field DatefieldId
- - Custom Field id
java.lang.Exception
java.lang.Exception
public static void setCustomFieldSimple(com.atlassian.jira.issue.Issue issue, java.lang.String value, java.lang.String fieldId) throws java.lang.Exception
issue
- value
- - Custom Field ValuefieldId
- - Custom Field id
java.lang.Exception
java.lang.Exception
public static void updateCustomField(com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.fields.OrderableField field, java.lang.Object value) throws java.lang.Exception
issue
-
java.lang.Exception
@Deprecated public static void logWork(com.atlassian.jira.issue.Issue issue, java.lang.String timeLogged, java.lang.String newEstimate, java.lang.String comment, java.lang.String logDate) throws com.atlassian.core.util.InvalidDurationException, GreenHopperException, com.atlassian.jira.JiraException, java.text.ParseException
issue
- timeLogged
- comment
-
com.atlassian.core.util.InvalidDurationException
com.atlassian.jira.JiraException
java.text.ParseException
GreenHopperException
public static java.util.Date getLogDate(java.lang.String logDate) throws GreenHopperException, java.text.ParseException
logDate
- date picker string date format
GreenHopperException
java.text.ParseException
public static void updateVersionReleaseDate(com.atlassian.jira.project.Project project, java.lang.String date, com.atlassian.jira.project.version.Version version) throws GreenHopperException, com.atlassian.jira.exception.PermissionException, org.ofbiz.core.entity.GenericEntityException, java.text.ParseException
project
- date
- version
-
GreenHopperException
com.atlassian.jira.exception.PermissionException
org.ofbiz.core.entity.GenericEntityException
java.text.ParseException
public static void updateVersionName(com.atlassian.jira.project.Project project, java.lang.String name, com.atlassian.jira.project.version.Version version) throws java.lang.Exception
project
- name
- version
-
java.lang.Exception
public static void updateComponentName(com.atlassian.jira.project.Project project, java.lang.String name, java.lang.Long componentId, com.opensymphony.user.User user) throws java.lang.Exception
project
- name
- componentId
-
java.lang.Exception
public static webwork.dispatcher.ActionResult dispatch(com.atlassian.jira.issue.MutableIssue issue, long event, boolean sendEmail) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getCustomFieldHtmlValue(com.atlassian.jira.issue.fields.CustomField customField, com.atlassian.jira.issue.Issue issue)
public static java.lang.Object getCustomFieldDefaultValue(com.atlassian.jira.project.Project project, java.lang.String issueTypeId, com.atlassian.jira.issue.fields.CustomField customField)
public static java.lang.String getPrettyDuration(java.lang.Long v)
public static java.lang.String getShortDuration(java.lang.Long v)
public static com.atlassian.jira.issue.search.SearchRequest getSearchRequest(java.lang.Long requestId)
public static java.util.List<com.atlassian.jira.issue.changehistory.ChangeHistory> getChangeHistories(com.atlassian.jira.issue.Issue issue)
public static java.util.List<com.atlassian.jira.issue.worklog.Worklog> getWorkLogs(com.atlassian.jira.issue.Issue issue)
public static boolean isTypeAssociatedToDefaultScheme(java.lang.String issueTypeId)
public static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getIssueTypes(com.atlassian.jira.project.Project project)
public static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getStandardIssueTypes(com.atlassian.jira.project.Project project)
public static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getSubtaskTypes(com.atlassian.jira.project.Project project)
public static com.atlassian.jira.issue.issuetype.IssueType getIssueTypeById(java.lang.String id)
public static com.atlassian.jira.issue.priority.Priority getPriorityById(java.lang.String id)
public static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getAllIssueTypes()
public static java.util.Collection<java.lang.String> getAllIssueTypeIds()
public static java.util.Collection<java.lang.String> getIssueTypeIds(com.atlassian.jira.project.Project project)
public static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getAllSubtaskTypes()
public static java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getAllNonSubtaskTypes()
public static java.util.Collection<com.atlassian.jira.issue.status.Status> getAllStatuses()
public static java.util.Collection<com.atlassian.jira.issue.priority.Priority> getAllPriorities()
public static java.util.Set<com.atlassian.jira.issue.resolution.Resolution> getAllResolutions()
public static com.atlassian.jira.issue.status.Status getStatus(java.lang.String id)
public static com.atlassian.jira.issue.status.Status getStatusByName(java.lang.String name)
public static com.atlassian.jira.issue.resolution.Resolution getResolution(java.lang.String id)
public static com.atlassian.jira.issue.link.IssueLinkType getLinkType(java.lang.Long linkId)
public static com.opensymphony.workflow.loader.StepDescriptor getLinkedStep(com.atlassian.jira.issue.MutableIssue issue, java.lang.String statusId)
public static java.util.Collection<com.atlassian.jira.workflow.JiraWorkflow> getAllWorkflows()
public static java.util.Collection<java.lang.String> getAssociatedWorkflows(org.ofbiz.core.entity.GenericValue status)
public static java.util.TreeSet<com.atlassian.jira.issue.search.SearchRequest> getElligibleFiltersFor(java.lang.Long projectId)
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getFieldsForType(java.lang.Long projectId, java.lang.String issueType)
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getNumberCFTypeFields()
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getNumberCFTypeFields(com.atlassian.jira.project.Project project)
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getSortableCustomField()
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getSortableCustomField(com.atlassian.jira.project.Project project)
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getAllCustomFields()
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getAllCustomFields(com.atlassian.jira.project.Project project)
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getMultiSelectField()
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getMultiSelectField(com.atlassian.jira.project.Project project)
public static java.util.List<com.atlassian.jira.issue.fields.CustomField> getMultiSelectField(com.atlassian.jira.project.Project project, java.lang.String issueTypeId)
public static com.atlassian.jira.web.action.admin.issuetypes.IssueTypeManageableOption getIssueTypeManageableOption()
public static com.atlassian.jira.issue.fields.config.manager.FieldConfigSchemeManager getFieldConfigSchemeManager()
public static com.atlassian.jira.issue.fields.config.FieldConfig getConfig(com.atlassian.jira.project.Project project, java.lang.String issueTypeId, com.atlassian.jira.issue.fields.CustomField field)
public static com.atlassian.jira.issue.fields.config.FieldConfig getGlobalConfig(com.atlassian.jira.issue.fields.CustomField field)
public static java.util.Collection<com.atlassian.jira.issue.link.IssueLinkType> getIssueLinkTypes()
public static com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor(com.atlassian.jira.issue.MutableIssue issue, int action)
@Deprecated public static boolean isTimeTrackingOn()
public static boolean isUnassignAllowed()
@Deprecated public static boolean isSubtaskAllowed(com.atlassian.jira.project.Project project)
public static com.atlassian.core.user.preferences.Preferences getUserPreferences()
public static java.lang.String getRenderedDescription(com.atlassian.jira.issue.Issue issue)
public static void checkPermission(com.atlassian.jira.project.Project project, int permission, com.opensymphony.user.User user) throws GreenHopperException
GreenHopperException
public static boolean hasRights(com.atlassian.jira.issue.Issue issue, int permission, com.opensymphony.user.User user)
public static void checkPermission(com.atlassian.jira.issue.Issue issue, int permission) throws GreenHopperException
GreenHopperException
public static boolean hasRights(com.atlassian.jira.issue.Issue issue, int permission)
public static boolean hasRights(com.atlassian.jira.project.Project project, int permission, com.opensymphony.user.User user)
public static void checkPermission(com.atlassian.jira.project.Project project, int permission) throws GreenHopperException
GreenHopperException
public static boolean hasRights(com.atlassian.jira.project.Project project, int permission)
public static void checkGlobalPermission(int permission) throws GreenHopperException
GreenHopperException
public static boolean hasGlobalRights(int permission)
public static com.opensymphony.user.User getRemoteUser()
public static com.opensymphony.user.User getUser(java.lang.String name)
public static com.atlassian.jira.project.Project getProject(java.lang.Long selectedProjectId)
public static com.atlassian.jira.permission.PermissionSchemeManager getPermissionSchemeManager()
public static com.atlassian.jira.project.version.Version getVersion(java.lang.Long versionId)
public static com.atlassian.jira.bc.project.component.ProjectComponent getComponent(com.opensymphony.user.User user, java.lang.Long componentId)
public static java.util.Collection<com.atlassian.jira.project.version.Version> getUnreleasedVersions(com.atlassian.jira.project.Project project)
public static java.util.Collection<com.atlassian.jira.project.version.Version> getReleasedVersions(com.atlassian.jira.project.Project project)
public static java.util.Collection<com.atlassian.jira.project.version.Version> getAllVersions(com.atlassian.jira.project.Project project)
public static java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> getAllComponents(com.atlassian.jira.project.Project project)
public static GreenHopper getGreenHopperService()
public static StatService getStatService()
public static CapacityService getCapacityService()
public static com.atlassian.jira.project.ProjectManager getProjectManager()
public static com.atlassian.jira.issue.CustomFieldManager getCustomFieldManager()
public static com.atlassian.jira.issue.context.manager.JiraContextTreeManager getTreeManager()
public static com.atlassian.jira.issue.worklog.WorklogManager getWorkLogManager()
public static com.atlassian.jira.bc.issue.worklog.WorklogService getWorklogService()
public static com.atlassian.jira.bc.JiraServiceContext getJiraServiceContext()
public static com.atlassian.jira.issue.fields.layout.field.FieldLayoutManager getFieldLayoutManager()
public static com.atlassian.jira.issue.fields.FieldManager getFieldManager()
public static com.atlassian.jira.workflow.WorkflowManager getWorkflowManager()
public static com.atlassian.jira.issue.IssueManager getIssueManager()
public static com.atlassian.jira.config.SubTaskManager getSubTaskManager()
public static com.atlassian.jira.issue.util.IssueUpdater getIssueUpdater()
public static com.atlassian.jira.issue.IssueFactory getIssueFactory()
public static void reIndex(com.atlassian.jira.issue.Issue issue)
public static void reIndexIssues(java.util.Collection issues)
public static void reIndexAll()
public static com.atlassian.jira.issue.link.IssueLinkTypeManager getIssueLinkTypeManager()
public static com.atlassian.jira.project.version.VersionManager getVersionManager()
public static com.atlassian.jira.bc.project.version.VersionService getVersionService()
public static com.atlassian.jira.bc.project.component.ProjectComponentService getProjectComponentService()
public static com.atlassian.jira.issue.IssueUtilsBean getIssueUtilsBean()
public static com.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManager getIssueTypeSchemeManager()
public static com.atlassian.jira.issue.fields.option.OptionSetManager getOptionSetManager()
public static com.atlassian.jira.config.ConstantsManager getConstantsManager()
public static com.atlassian.jira.bc.issue.label.LabelService getLabelService()
public static com.atlassian.jira.issue.search.SearchRequestManager getSearchRequestManager()
public static com.atlassian.jira.bc.filter.SearchRequestService getSearchRequestService()
public static com.atlassian.jira.issue.search.managers.IssueSearcherManager getIssueSearchRequestManager()
public static com.atlassian.jira.issue.changehistory.ChangeHistoryManager getChangeHistoryManager()
public static java.lang.String getCalendarLocale()
public static com.atlassian.jira.web.util.OutlookDate getOutlookDate()
public static com.atlassian.jira.web.util.OutlookDate getGadgetOutlookDate()
public static com.atlassian.jira.util.JiraDurationUtils getJiraDurationUtils()
public static int dateDiffInWorkingDays(java.util.Date beginDate, java.util.Date endDate, int nbDaysInWeek)
public static int hoursPerDay()
public static int daysPerWeek()
public static com.atlassian.jira.config.properties.ApplicationProperties getApplicationProperties()
public static com.atlassian.jira.issue.MutableIssue getIssue(java.lang.String key)
public static com.atlassian.jira.issue.MutableIssue getIssue(java.lang.Long id)
public static com.atlassian.jira.issue.MutableIssue getNewIssue(java.lang.Long projectId, java.lang.String issueType, java.lang.String parentKey, com.opensymphony.user.User user)
public static com.opensymphony.module.propertyset.PropertySet getPropertySet(java.lang.String entityName, java.lang.Long entityId)
entityName
- public static void removePropertySet(java.lang.String entityName, java.lang.Long entityId, java.lang.String dataName)
public static com.atlassian.jira.issue.fields.CustomField getCustomField(java.lang.String id)
public static com.atlassian.core.util.DateUtils.Duration getDurationUnit()
public static java.util.List<java.lang.Long> getReleasedVersionAsParam(java.lang.Long projectId)
public static com.atlassian.jira.issue.security.IssueSecurityLevelManager getIssueSecurityLevelManager()
public static com.atlassian.jira.issue.security.IssueSecuritySchemeManager getIssueSecuritySchemeManager()
public static com.atlassian.jira.issue.comments.CommentManager getCommentManager()
public static com.atlassian.jira.bc.issue.comment.CommentService getCommentService()
public static java.util.List<org.ofbiz.core.entity.GenericValue> getAllSecurityLevels(com.atlassian.jira.project.Project project)
public static org.ofbiz.core.entity.GenericValue getDefaultSecurity(com.atlassian.jira.project.Project project)
public static boolean isSecurityEnabled(com.atlassian.jira.project.Project project)
public static com.atlassian.jira.plugin.webfragment.model.JiraHelper getJiraHelper(com.atlassian.jira.project.Project project)
public static java.util.HashMap toFieldParams(com.atlassian.jira.issue.fields.OrderableField field, java.lang.Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |