public class

CustomFieldScopeImpl

extends Object
implements CustomFieldScope
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.CustomFieldScopeImpl

Class Overview

Represents the scope of a given custom field. The scope is defined as the projects/issue types for which a custom field is visible.

Summary

Public Methods
boolean isIncludedIn(IssueContext issueContext)
Checks whether the custom field corresponding to this scope is in the scope of the given IssueContext.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.CustomFieldScope

Public Methods

public boolean isIncludedIn (IssueContext issueContext)

Checks whether the custom field corresponding to this scope is in the scope of the given IssueContext.

If the project on the IssueContext is null, then it is treated as a wildcard. If the issueTypeId on the IssueContext is null or an empty list, then it is treated as a wildcard.

Parameters
issueContext The issue context.
Returns
  • Whether the custom field is in the scope of the given IssueContext.