I have a use case.
I have a select list custom field as "Is the plan detailed enough" with values (Yes/No).
I want to show a new field when No is selected in the field, as "Reason for No" as a text field.
Welcome to the Community!!
You need a plugin in order to achieve this
Scriptrunner example here (https://community.atlassian.com/t5/Jira-questions/Conditionally-set-field-value-based-on-other-field-value-on/qaq-p/460864)
Let me know which plugin you would like to explore with
Thanks,
Pramodh
Hi @Pramodh M
I am using both the plugins currently. Any solutions for this use case will be welcomed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pramodh M
The link which you shared has different use case. My use case is related to autopopulation of a new field based on another select list custom field value.
Thanks,
Ankit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using Automation for Jira add the below options under a rule
Trigger - Field value changed
Condition - based on your needs
Action - edit the field
For Scriptrunner if you can add behavior
https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am new to this groovy scripting, it will be very helpful if you would be able to help me add behaviour for my use case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the below and let me know if it works
def Cf1 = getFieldById(getFieldChanged()).getValue().toString()
if ( Cf1 == "value"){
getFieldById("Custom field_10302").setFormValue("");
}
Thanks
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.
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.