Hi i want to do statistics with a cascade selector, i have installed the JIRA Misc Workflow Extensions, i know how can i copy a value to another field, but i don't know what kind of new field can help me to do statistics can you help me please ?

1 answer

1 accepted

This widget could not be displayed.

Hi Alejandro,

When I did this, I had a cascading select custom field called "Root Cause"; I created a select list custom field and called it "Root Cause Result". I added parent and child options to Root Cause, then I added the same child options to Root Cause Result. You would need to ensure that the select list field options are only the same as child options. For example:

Cascading select custom field parent options are A, B, and C. Options under A are 1, 2, and 3; options under B are 4, 5, and 6; options under C are 7, 8, 9. In select list custom field, options are 1, 2, 3, 4, 5, 6, 7, 8, and 9. Say the user selects A and then 1 as the value for the field. On the post function, you copy the value of cascading select custom field to select list custom field. It would select the value of "1".

Does this make sense? You could also try copying it to a text field, I haven't tried that yet. :)

do you know other way to do it?

I know that at least with cascading select to select list, the "Copy Value" post function will only copy between the fields if you make the options in the select list field the same as the child options of the cascading select field. You might want to try and see if copying the value to an empty text field will show both casdading select values, I haven't tried it myself.

it was very usefull, in my case the parent options are modules and the child options are submodules of each module, i want to store in the custom field the module from the issue in order to know which modules have the major part of the problems, so do i have to put in the custom field the options of the parent selector?

Another way to copy the value from one field to the other? Besides manually, there's probably a way to do it with a script, but I'm not a coder unfortunately. Maybe someone else will post a answer on how to do it that way?

Only other thing I can think of is if you added the name of your parent module options as a prefix to all the options of your children modules; so you would have:

Parent Options A, B, C

Child Options for A: A-1, A-2, A-3

Child Options for B: B-4, B-5, B-6

Child Options for C: C-7, C-8, C-9

Depending on the number of parent and child options you have, however, this could mean a lot of manual effort to keep both custom fields up to date with corresponding options. And it would mean the value displayed of your cascading select field would like slightly redundant in the issue, with values like "A A-1".

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you