Issue With Behaviours (User in Group and Server Side Script)

Tim Wright June 4, 2013

Hi,

It seems when a behaviour has more than 1 case the plugin always defaults to the last rule in the behaviour when using "user in group restriction" and serverside script.

For example i have a field called Customer Code (its a Group Picker)

I do not want the customer to be able to set it (so its hidden), rather auto-populate on the creation of an issue.

So i create a behaviour and do the following for field Customer Code.

ServerSide Script: set Customer Code to a value("ClientX")

Then add a rule that says when user in group - "ClientX" alllow

I then add more rules below for each client (i can do this with more rules in 1 behaviour, or multiple behaviours). Whenever i create a ticket, all clients end up creating a ticket against the last rule (ie "Client Z"). Even if i put all the other clients as Except when in Group, it still picks up the last server side script.

I am using the server side script editor facility.

2 answers

0 votes
Tim Wright June 4, 2013

ok definitely an issue clearing cache makes no difference. I have the field visible in order to see what value it adds.

0 votes
Tim Wright June 4, 2013

Checking the clear script cache first. This maybe my issue!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events