Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Lock Priority field for a specific custom cascading select field values on a Create Screen

Hi!

Is it possible in Jira to lock the Priority system field for one issue type on both Create or Edit Screen and combined with a specific value selected by user in a custom cascading select field (primary tier drop down values-  Jira Customization / Jira Administration and secondary tier drop down values - MUST NOT BE NONE).

The priority field should be locked for NOT able to edit on the fly when a user create or update that issue type having the above mentioned combination of Cascading select values. Any suggestions please on how to accomplish such requirement?

2 answers

0 votes
Dirk Ronsmans Community Leader Mar 11, 2021

Hi @vcatl2020 ,

Out of the box there are not dynamic forms like you mention. You cannot set a field read-only (locked) based on another value of the issue.

You will require an app for this.

On Server this could be easily done with Scriptrunner (from Adaptavist) which uses behaviours (basically dynamicall hide/show fields and set properties of those fields).

This would require some groovy/scripting knowledge.

TL;DR: Out of the box, cannot be done. With an addon yes. (but that's an investment)

Thanks @Dirk Ronsmans and after some further research, Scriptrunner is the only addon that can make it possible. I will get this installed on a trial evaluation to get this started but I was wondering if there is any reference code that someone can share that I can try picking it up from there?

Dirk Ronsmans Community Leader Mar 11, 2021

Hi @vcatl2020 ,

I would suggest taking a look at their documentation. They provide lots of examples and excellent guidance. 

For your use case you would use behaviours. 
https://docs.adaptavist.com/sr4js/latest/features/behaviours

Will kick start to learn from here, also will keep an eye out for a handy reference logic code from any expert advisor. Thanks Dirk!

Like Dirk Ronsmans likes this

Suggest an answer

Log in or Sign up to answer
TAGS

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