Details
-
Bug
-
Status: Done
-
Low
-
Resolution: Done
-
6.10.0
-
None
-
None
-
SR4J Sprint 86
-
0
Description
Steps to reproduce (Steps are using jobs as example but this can be reproducible in other scripts):
Reproduced in: Jira 8.0.0 and 8.1.2
1 - Go to jobs and create a new job
2 - Paste this code in Inline script:
import com.atlassian.jira.security.roles.ProjectRole
import com.onresolve.scriptrunner.parameters.annotation.ProjectRolePicker
@ProjectRolePicker(label = 'Project role', description = 'Project role picker')
ProjectRole projectRole
projectRole?.name
3 - Once you select the Project role data, it is not getting selected in the first time, only if you click again in the previous selection, and then when the job is saved the data is not being saved: