User 'null' does not have permission to see issue
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
The problem is started to happens when:
- Create or edit an issue.
- Linking an issue.
- Transit an issue.
The following appears in the JIRA UI:
Referer URL: https://jira.abc.com/issues/?filter=-2
com.atlassian.jira.exception.IssuePermissionException: User 'null' does not have permission to see issue 'XX-123'
com.atlassian.jira.exception.IssuePermissionException: User 'null' does not have permission to see issue 'XX-123'
at com.atlassian.jira.web.action.issue.AbstractIssueSelectAction.assertIssueIsValid(AbstractIssueSelectAction.java:565)
at com.atlassian.jira.web.action.issue.AbstractIssueSelectAction.getIssueObject(AbstractIssueSelectAction.java:173)
at com.atlassian.jira.web.action.issue.DeleteIssue.isCurrentDeletedIssue(DeleteIssue.java:39)
at com.atlassian.jira.web.action.issue.DeleteIssue.getViewUrl(DeleteIssue.java:47)
at com.atlassian.jira.web.action.issue.DeleteIssue.doExecute(DeleteIssue.java:34)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:88)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154)
at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152)
HAR file will shows 401 error code when trying to close the create issue pop up screen:
POST https://jira.abc.com/secure/QuickCreateIssue.jspa?decorator=none 401 (Unauthorized)
ajax[40652322] error : {
successful : false,
status : 401,
statusText : error,
hasData : true,
readyState : 4,
requestId : 40652322,
aborted : undefined,
}
原因
The problem is caused by the JIRA Automation Plugin.
回避策
Disable the JIRA Automation Plugin.
ソリューション
The problem has been traced in https://bitbucket.org/atlassianlabs/automation/issues/69/on-create-edit-issues-user-get-permission