Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving Error Java.lang/IllegalAgumentException when transitioning to done state

Nannette Mori
Contributor
April 14, 2021

Jira 8.13

 

We have a precondition to only allow users with Product Owner role to transition to Done

We also were trying to lock down Edit at the "Done" state.  If I don't have Product Owners in the jira.permission.editable.group.1 = Product Owners the Product Owner can't move to Done and it throws a blank Error.  If I put product Owners in the permission workflow the user will not get an error and can move to Done but then the Product Owner is able to edit the issue in the Done State... Not sure why transitioning to the Done state and what is in the workflow permissions properties are causing this issue

When the user transitions to "Done" receiving the following error:

2021-04-14 12:40:03[ c.a.jira.workflow.OSworkflowManager] Caught an exeception while attempting to perform action 41 from workflow 150607 on Issue STORY-XXXXX

Java.lang.IllegalArgumentException

at

com.google.common.base.Preconditions.checkArgument(Preconditions.java:127)

at

com.atlassian.jira.entity.property.BaseEntityPropertyService.setProperty(BaseEntityPropertyService.java:96)

at

com.atlassian.jira.entity.property.DelegatingEntityPropertyService.setProperty(DelegatingEntityPropertyService.java:41)

at sun.reflect.GeneratedMethodAccessor1638.invoke(Unknown Source)

at 

sun reflect.DelegatingMethodAccessorImpl.Invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at

com/atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26

 

 

1 answer

0 votes
Tinker Fadoua
Community Champion
April 14, 2021

@Nannette Mori 

Beside the error what are you trying to restrict and allow on this workflow in certain transitions?

Best

Fadoua

Nannette Mori
Contributor
April 15, 2021

Restrict edit permissions from everyone except admin at the Done state

There is also a precondition to only allow Product Owners to transition to Done

It is strange if I do not add Product Owner group in the edit permissions in the workflow properties the Product Owners cannot move to Done and there is a Blank error message displaying at the top of the Issue.  The Problem with that is that then the Issue is editable by Product Owners and we want permissions to edit only allowed by Administrator group

Suggest an answer

Log in or Sign up to answer