Behaviour conditon not working...

Trying to see if behaviour conditions are working... Did something simple.

Using the Fix Version/s field... Set a condition to just one user and then logged in as a different user and this user was still allowed to change the field.

Shouldn't user 'renee' be the only use allowed to change the field?

 

 

image2016-1-25 16:52:20.png

 

Thx

Pete

1 answer

1 accepted

This widget could not be displayed.

Hi Pete,

By Default all fields in JIRA are writeable so that condition will get bypassed.

If you change your configuration to make the field Read Only for all users except for the renee user as shown in the screenshot below the you should get the expected result.

image2016-1-27 11:16:41.png

 

I hope this helps.

Kristian

Kristian...

Thanks for the reply... But what I found out is that conditions didn't work on system fields which Fix Version/s is... only on Custom fields... Am I wrong on that?

 

thx

 

Pete

 

Hi Pete,

Conditions should work on System Fields as well. The config above worked in my JIRA 6.4.12 instance running Script Runner version 4.1.3.4.

Can I check what versions of Script Runner and JIRA you are using?

If you are still experiencing issues can you please post the errors from the logs that you experience when trying to run the config above.

Thanks

Kristian

Kristian,

We are using JIRA v6.4.11

and Script Runner 3.1.4

Which log file do I look at for errors? This one – atlassian-jira.log

Pete

Yes the atlassian-jira.log file will be the correct log file.

Kristian

Kristian,

Went back and tried it again and does work on Fix Version/s...

Thanks for the help.

 

Pete

Hi Pete,

I am glad the solution worked.

Could you please accept the answer if you are happy with it.

Thanks

Kristian

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

523 views 3 19
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