@PublicApi public class

GlobalIssueContext

extends AbstractJiraContext
java.lang.Object
   ↳ com.atlassian.jira.issue.context.AbstractJiraContext
     ↳ com.atlassian.jira.issue.context.GlobalIssueContext

@PublicApi

This class is designed for plugins to consume (call its methods).

Clients of @PublicApi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicApi as per each product's API policy as long as the client does not implement/extend @PublicApi interfaces or classes (refer to each product's API policy for the exact guarantee---usually binary compatibility is guaranteed at least across minor versions).

Note: since @PublicApi interfaces and classes are not designed to be implemented or extended by clients, we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces annotated with @PublicSpi are safe to extend/implement).

Summary

Constants
String GLOBAL_CONTEXT_STR
[Expand]
Inherited Constants
From interface com.atlassian.jira.issue.context.JiraContextNode
[Expand]
Inherited Fields
From interface com.atlassian.jira.issue.context.IssueContext
Public Constructors
@Deprecated GlobalIssueContext(JiraContextTreeManager treeManager)
This constructor is deprecated. Use getInstance() instead. Since v6.1.
Public Methods
Map<StringObject> appendToParamsMap(Map<StringObject> input)
static JiraContextNode getInstance()
GenericValue getIssueType()
String getIssueTypeId()
IssueType getIssueTypeObject()
BandanaContext getParentContext()
GenericValue getProject()
GenericValue getProjectCategory()
ProjectCategory getProjectCategoryObject()
Long getProjectId()
Project getProjectObject()
boolean hasParentContext()
boolean isInContext(IssueContext issueContext)
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.context.AbstractJiraContext
From class java.lang.Object
From interface com.atlassian.bandana.BandanaContext
From interface com.atlassian.jira.issue.context.IssueContext
From interface com.atlassian.jira.issue.context.JiraContextNode
From interface java.lang.Comparable

Constants

public static final String GLOBAL_CONTEXT_STR

Constant Value: "Global Context"

Public Constructors

@Deprecated public GlobalIssueContext (JiraContextTreeManager treeManager)

This constructor is deprecated.
Use getInstance() instead. Since v6.1.

It is both unnecessary and wasteful to construct a new GlobalIssueContext. Please use the getInstance() factory method, instead.

Parameters
treeManager ignored

Public Methods

public Map<StringObject> appendToParamsMap (Map<StringObject> input)

public static JiraContextNode getInstance ()

public GenericValue getIssueType ()

public String getIssueTypeId ()

public IssueType getIssueTypeObject ()

public BandanaContext getParentContext ()

public GenericValue getProject ()

public GenericValue getProjectCategory ()

public ProjectCategory getProjectCategoryObject ()

public Long getProjectId ()

public Project getProjectObject ()

public boolean hasParentContext ()

public boolean isInContext (IssueContext issueContext)

public String toString ()