public class

CustomIssueXMLViewFieldsBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.bean.CustomIssueXMLViewFieldsBean

Class Overview

Purpose of this class is to enable custom XML issue views. This class is a wrapper of FieldVisibilityManager If field parameters for issue view were defined correctly they are evaluated first and only for requested fields visibiliy is checked with FieldVisibilityManager. For non orderable fields checking with FieldVisibilityManager is skipped and true value is returned. Another exception are time tracking fields, which are evaluated based on TIMETRACKING field.

Summary

Public Constructors
CustomIssueXMLViewFieldsBean(FieldVisibilityManager fieldVisibilityManager, IssueViewFieldParams issueViewFieldParams, Long projectId, String issueTypeId)
Public Methods
boolean isFieldRequestedAndVisible(String fieldId)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CustomIssueXMLViewFieldsBean (FieldVisibilityManager fieldVisibilityManager, IssueViewFieldParams issueViewFieldParams, Long projectId, String issueTypeId)

Public Methods

public boolean isFieldRequestedAndVisible (String fieldId)

Returns
  • true if field is defiend in custom view parameters and not hidden, or just not hidden if no view parameters were specified or is non orderable field