Hi,
We have to configure multiple dependent dynamic fields based a value selections in custom select fields.
> Select box name: Review Change with values like Yes, No, Not Required.
Selecting Yes as a value --> will need to display date picker custom field.
Selecting No as value --> To display a multi-line text box
Selecting Not Required as value --> To display User picker field in the new Jira Issue. We are using Jira cloud and have Scriptrunner Add-on as well.
I have tried the first option in ScripRunner sample exercise but i'm getting error - https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/select-list-other.html
Could you please provide some direction / code samples to achieve the functionalities?
Hi,
You can't do that in Jira Cloud, only in Jira server.
What you looked at ScripRunner is also example for Jira Server (that is why you get errors).
Hi Nir,
Sorry for the confusion. We are on the Jira Server version not on the Jira Cloud version.
Our Server version is 7.6.4.
Could you pls clarify now on how to achieve them?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK,
So this is what you need to do in your Behaviour (I tried it first so it works)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this and i have done the same thing yesterday for most of these dynamic controls after going through the Adaptavist Behaviors tutorials.. Now you have provided what i have did. Thanks for your time.
I have one more question and want your input / suggestion.
We have custom multi selectlist control with list of values. Selecting one value will need to display 3 dynamic custom text controls to capture values. In case if user select more than one value in the multi selectlist control then based on the number of selection * 3 dynamic custom text control needs to be displayed to capture user inputs.
Un selecting any of the multi selectlist control will unload related 3 text controls.
Do you have any suggestions to take it forward using Behaviors?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to make sure i understand you right,
You have one multi select field, and 3 text custom fields?
And by default you want to see only the multi select, but if 1 option chose from the drop-down than show 1 of the text field, if 2 options selected than show 2 text fields and if 3 options selected than show 3 text fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for not being clear. PFB the details.
1. Multi select custom Field: It needs to be displayed always for user selection. User will be selecting countries they have visited. There will be a list of 40 countries in this multi select field.
2. Dynamic Single line textbox Field: We need to display three text box fields to capture values like City, Flight and Expense. These fields needs to be displayed only when a country is selected above. Otherwise it will not be displayed.
a. Example :If country selected in #1 is Mexico then these fields will need to be labelled as Mexico City, Mexico Flight, Mexico Expense
3. If user selects three countries in multi select field as Mexico, Canada and United Kingdom then a total 9 fields needs to be displayed. Basically we need to increase the custom fields multiplied by three based on the number of selected countries. If five countries selected then 5 X 3 equals 15 custom text fields with name as explained in #2.a to be displayed.
4,. Un-selecting any of the country will need to hide the 3 text fields related to that country.
Example. Un-selecting Mexico from multii select needs to hide Mexico City, Mexico Flight, Mexico Expense from the screen.
Hope I have described the scenario as requested.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now i understand, you can do that only if you create enough customfields to put on the screen.
Otherwise there is no option it will shows you more and more 3 fields as you need.
I think better solution for your needs may be this addon:
https://marketplace.atlassian.com/apps/5008/multi-level-cascading-select?hosting=server&tab=overview
Install it with a trial, see if it works for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got it Nir. Thanks for the info and the plugin. As not all the plugins are allowed in our environments, i need take the route of configuring all the custom fields and handled through behaviors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK Akbar.
If this issue is closed from your point of view.
Please accept my answer as the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.