It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

is there a way to show custom fields up on selected values from other fields?

hi there i know this might be a lil bit tricky but i was requested to create a new custom field that only shows up if a specific selection is made from our Severity field.

i don't want client side solutions such as javascript...does n1 of you know if there is some kind of a condition setup for customfields or any other extended cascading feature that allows this?

sure there is a cascading select list field type but that is not providing the solution i need.

Severity field has sev1 to sev5

when the user selects sev1 or sev2 a new field should be shown wich is a text field where to enter some impacts...

any ideas?


5 answers

1 accepted

0 votes
Answer accepted

Ok, I will praise myself again: try JJUPIN, it hides away from you all the JS.

I see that JJUPIN did just add new features for show/hide fields!

i will give it a shot. thanks.

any clue if fields can be hidden per conditions such as "only show if cfield_12345 has value in (a,b)" ?

Radu. i just purchased JJUPIN and diggin in the documentation right now.

is there any KB article that comes close to what i need?

0 votes

The only solutions I've seen for this are

1. A plugin that provides a new field type to do it

2. Javascript

thanks Nic,

can you give me more details for the 1st solution you mentioned please?

There's not a lot to say really - I've worked in a couple of places that wrote plugins to do it. Storage formats were a bit of a pain, but the cleanest one I saw was basically cribbed directly from the code for the cascading-select with some tweaks to the .vm to show/hide the second half of the field as required.

I can't share the code, as it was all internal stuff (and I didn't copy it, as it wasn't mine!)

sure thing Nic.

i guess i stick with some dirty workaround like putting an update field conditon on the customfield during triggering the Resolve transition.

probably the fastest availabe solution

My instinct would be if I could limit it to only one transition, like on "create," that I needed this functionality, that I could hack this together by creating a step in the middle. Then using a plugin with a conditional postfunction, if the severity = X, then it transitions to another status with the screen with the custom field you want. You could create several different transitions to handle different severities.

This is a clunky solution but the only thing I can think of that wouldn't require coding.

Suggest an answer

Log in or Sign up to answer

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you