It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automatic update of Security Level in a Jira ticket Edited

Rupa Jain Dec 19, 2017

Hi,

 

In our Jira Project Setup, we have a Security Level for each Customer.

We are managing the correct level setup in Post Function of the Workflow during ticket creation. This is done using a Custom Scriptrunner Script.

 

We are required to automatically have the "Security Level' of a ticket changed  anytime whenever any user changes the Customer in any ticket using the 'Edit' option.

Please suggest ways for accomplishing this.

Thanks,

Rupa

3 answers

0 votes

Hi,

You could add a transition where you change customer you change security level in post function of this transition

Rupa Jain Dec 19, 2017

I need this change to be made when the workflow is not in the picture. Like when someone uses the 'Edit' option to change the field 'Customer'.

Ok,

I think the only why is to develop a plugin and override this action

or using java script in edit screen or add transition edit  which lets the issues in the same step.

0 votes
Alexey Matveev [cPrime] Community Leader Dec 19, 2017

You can create a listener on the issue updated event usting Scriptrunner. You can find more information here

https://scriptrunner.adaptavist.com/5.0.0/jira/listeners.html

0 votes
Christian Roestel Jan 11, 2018

Could  you remove the Issue Security field from the edit screen so that the user could not edit it? 

additionally, you could look at the BEHAVIOURS plugin (part of script runner) that would allow you to set the field to read-only. 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Software

Demo Den Ep. 5: Meet Jira Mobile

See how to use Jira on the go! Demo Den Episode 5 is here: meet Jira Mobile with  Jira  Product Manager Rayen Magpantay.  Demo Den is in our monthly series where a Jira PM demonstrates...

428 views 1 10
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you