Hi,
A little background on what I am trying to achieve.
We have about 4-5 Project Categories. And mostly all project fit into these categories, and occasionally there would be a need to create a new category to fit in a new project.
When a "Create New Project" ticket comes in, the single select list offers them to choose from the already existing categories.
But lately more projects are coming in that need new categories.
For that purpose I want an option of "Other/Suggest new category" in the Single Select List.
And upon selecting that option, there should appear a text box next to it, which would take in the value for newly suggested category.
What we tried and why it didn't work.
We removed our single select list and placed a simple text field in its place (hoping people would just type in already existing category names) and occasionally type in a new category.
But people just seem typed in their own new category every time.
Hence, I would like the option of adding a text field into a single select field.
Many thanks in advance.
Tayyab
Hi,
There is plugin called Dynamic Forms which contains several dynamic customfields (select, multiselect, cascading select, checkboxes and radiobuttons) which can show/hide other customfields. You can just migrate your select to dynamic select and add related field for option "other/suggest", or you can add new custom field dynamic select.
Here you can find documentation: https://intenso.atlassian.net/wiki/display/DF/Dynamic+Custom+Fields
I hope I've helped you.
Best Regards
I did it with the help of Dynamic Forms.
Much easier to configure.
Many thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm also trying to solve a similar problem.
Can you please tell me how did you do that it will change during the creation of the issue - "We removed our single select list and placed a simple text field in its place ..." ?
I tried to do that by writing a JS code in the descriptuon of the field but it's not work.
<script type="text/javascript">
source = document.getElementById('customfield_10068');
if (source) {
target1 = document.getElementById('customfield_10069');
target2 = document.getElementById('customfield_10070');
target3 = document.getElementById('customfield_10071');
source.onchange = function() {
if (this.value == 10685)
{
target3.style.display='none';
target1.style.display='block';
target2.style.display='block';
}
else
{
target3.style.display='block';
target1.style.display='none';
target2.style.display='none'; }
}
}
</script>
I also sow that it can be solved through Announcement banner but this is not exist in the new JIRA Experience (https://jira.atlassian.com/browse/JRACLOUD-67554).
can you help me please and tell me how did you do that?
Thank you very much,
Ruth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think he used Dynamic forms. Not sure that is available to Cloud. Injected javascript will not work on Cloud at all (and I suspect the issue you reference will never be implemented - I wouldn't want to support a system that the customer can break and then demand I fix)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic Brough.
The Dynamic forms is not available to Cloud :(
What do you maen in that the customer can break the system?
Don't you know any solution for showing specific fields dependent on another fields (not by Select List (cascading), I need free text) ?
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.
If you get your injected javascript wrong, you can render your system unusable, needing support to undo the damage. Rather than set it up to ask for unnecessary work and downtime, it's better to simply disable the ability for someone to do that damage.
There is no way that I can find of doing dependent select/text fields in Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two options spring to mind
(Of course, there are other ways to do option 2 with your own coding, but the Behaviour is far easier)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.