Forums

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

Script Runner Behaviours Intermittently Ineffective

syseng_CMR November 22, 2019

We have a behaviour that restricts the priority field on a project to read-only for all but a few users. The default priority is set to low so all issues should be created with a low priority, except those created by the shortlist of special users who can create issues with different priorities. 

However, we have had a few occasions where users who are not on the shortlist have been able to create issues with medium priority. I have not been able to replicate the issue at al, on their accounts or on anyone else's.

My suspicion is that something was different about that issue when it was created which caused jira to ignore the behaviour, but I cannot work out what. The users know not to create issues with priority other than low, so I believe that it wasn't changed intentionally and instead, the issue was defaulted to medium priority rather than low.

This is very important for us because jira is part of our quality control system and is audited as such. This incidents are a breach of requirement and could possibly cause us to fail an audit in future.

 

Thanks for your help

Matt

1 answer

0 votes
Mohamed Benziane
Community Champion
November 22, 2019

Hi @syseng_CMR 

 

Can you look at the history tab what happened in the ticket ?

Just know that with behaviour when you make a field read-only it can be edited in the view screen (depend on which version of the plugin you have installed), so the history tab will tell you if the change are made after the creation or not.

Look at you workflow if you don't have some postfunction that change/set the priority field to medium.

Hope this helps,

syseng_CMR November 25, 2019

There's nothing on the history tab indicating that the priority has ever changed from what it was created with. Meaning the issue is somehow  in the creation of the issue and not in editing it.

 

Nothing in the workflow that affects the priority.

 

Thanks

Matt

Mohamed Benziane
Community Champion
November 25, 2019

priority.pngThe behaviour is set for all issuetype ? The medium priority is set only for some issuetype or all ?

syseng_CMR November 25, 2019

The behaviour is set for all issue types yes. Medium priority is available for all issue types as well, but is not the default (we still want medium priority to be available).

Mohamed Benziane
Community Champion
November 25, 2019

take a look at you behaviour configuration, you have maybe something wrong in it.

Suggest an answer

Log in or Sign up to answer