public class IssueViewRequestParamsHelperImpl extends Object implements IssueViewRequestParamsHelper
Constructor and Description |
---|
IssueViewRequestParamsHelperImpl(FieldManager fieldManager) |
Modifier and Type | Method and Description |
---|---|
IssueViewFieldParams |
getIssueViewFieldParams(Map requestParameters)
Method checks defined field parameters.
|
public IssueViewRequestParamsHelperImpl(FieldManager fieldManager)
public IssueViewFieldParams getIssueViewFieldParams(Map requestParameters)
Fields are added to @{link IssueViewFieldParams} based on following rules: - field name in param matches to field id as defined in @{link IssueFieldConstants} - field name in param matches to field mapping as defined in #fieldNamesMapping - field name in param matches to #nonIssueFields - allcustom field param means no field ids will be added to @{link IssueViewFieldParams#getCustomFieldIds} but @{link IssueViewFieldParams#isAllCustomFields()} flag will be set - field is ignored if does not match to any of above criteria
If no one of above criteria will pass method returns @{link IssueViewFieldParams} with empty fields collection and @{link IssueViewFieldParams#isCustomViewRequested()} flag set to true.
getIssueViewFieldParams
in interface IssueViewRequestParamsHelper
requestParameters
- HttpServletRequest parametersCopyright © 2002-2021 Atlassian. All Rights Reserved.