public class

IssueSecurityHelperImpl

extends Object
implements IssueSecurityHelper
java.lang.Object
   ↳ com.atlassian.jira.issue.security.IssueSecurityHelperImpl

Class Overview

Implementation of IssueSecurityHelper

Summary

Public Constructors
IssueSecurityHelperImpl(FieldLayoutManager fieldLayoutManager)
Public Methods
boolean securityLevelNeedsMove(Issue sourceIssue, Issue targetIssue)
Checks if we possibly want to change the Security Level of an issue that is being moved.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.security.IssueSecurityHelper

Public Constructors

public IssueSecurityHelperImpl (FieldLayoutManager fieldLayoutManager)

Public Methods

public boolean securityLevelNeedsMove (Issue sourceIssue, Issue targetIssue)

Checks if we possibly want to change the Security Level of an issue that is being moved. See needsMove(java.util.Collection, com.atlassian.jira.issue.Issue, com.atlassian.jira.issue.fields.layout.field.FieldLayoutItem) for the actual logic performing the check.

Parameters
sourceIssue The original issue
targetIssue The new issue we're moving to. Needs to have the new project set
Returns
  • true if the security level should be reset on the target issue.