JIRA - create issue screen - FIELDS LOCKED after enabling ScriptRunner

Hi,

We are using JIRA 6.3.13 and ScriptRunner 3.0.7.

BEFORE installing/enabling the ScriptRunner we can create issues in a specific project.

AFTER enanbling ScriptRunner, some fields are LOCKED when we want to create issues.

Any ideas ? I have also attached the JIRA logfile ()

Thanks,

 

Bart

createissuescreen_fields_locked.jpg

 

8 answers

what is the configuration for the create transition of the workflow used in that "Software Factory" project?

it looks like your workflow is not allowing you to edit issues: 2015-02-11 12:13:35,381 http-bio-8080-exec-65 INFO thomassn 733x308093x1 fg1fg2 172.16.111.66,172.16.184.192 /browse/SW-817 [atlassian.jira.security.WorkflowBasedPermissionManager] edit granted by permission scheme but DENIED by workflow

Hi Alejo, we indeed have permission granted/denied in that workflow (see screenshot attached), but this behaviour happens when you simply click the "Create" button (in order for the Create Screen to popup). So I should expect that at that time the users that have "create issue" permissions (according to the SW Factory permission scheme) are allowed to create issues. In the "Save as Draft" transition (ie. the FIRST transition after the intial "create", we are granting edit and assign rights to specific roles: ira.permission.edit.projectrole.1 10100 jira.permission.edit.projectrole.2 10000 jira.permission.edit.projectrole.3 10200 jira.permission.assign.projectrole.1 10100 jira.permission.assign.projectrole.2 10200 but I AM in that role, so strange that those fields are locked only when the Scriptrunner plugin is enabled. After disabling the scriptrunner plugin, everything works like it should, so it seems to me that the ScriptRunner reads the permissions "too early" (?) or something...

I just remove those permissions on edit/assign, enabled the Scriptrunner plugin again, and the fields remain locked on the Create Screen. So apparantly nothing to do with the permissions ?

I will try to reproduce it

I have also attached the exported workflow XML

0 vote

This has been cross-posted to https://jamieechlin.atlassian.net/browse/GRV-627, please keep all discussion there.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

822 views 2 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you