Hello
Is ther a solution for my task?
if value of field 1 is "x"
then Field 2 , 3 ae requirement.
else if
value of field 1 is "y"
then field4 ,5 are requirement.
requirement fields based on an another field value in screen.
thanks for your time
Community moderators have prevented the ability to post new answers.
As you are on a server the Scriptrunner add-on allows you this feature.
You can use behaviour and a script on a field in behaviour to achieve what you want.
Scriptrunner: https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/server/overview
Behaviours doc: https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html
For code to set required based on another field - se answer in: https://community.atlassian.com/t5/Answers-Developer-Questions/ScriptRunner-Issues-with-required-custom-field-based-on-another/qaq-p/546310
Hope this helps.
Regards,
Ganesh Babu J
Hi @Ganesh Babu
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marzi Goodarzian But following to that link i suggest you to use "else if" and "else" after "if", as in your case based on the two values you have conditions to be met.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.