Fields, tabs according to conmponent chosen

Hi All,

we would like to configure a project where we could define the to be filled fields according tho the component chosen. Specifically this a sys admin project where the users could raise incident and requests. When submitting request they have to first choose the type: e.g. firewall change, SVN access, etc. and based on this type they should have to fill different fields.

We know about cascading field but we need more fields and more difficult achievement. So cascading does not meet our requirements. And using different issue types for each type is also not very good.

Could you please give us some hints?

Thanks in advance,

Rumi

2 answers

1 accepted

0 vote

You might be able to take advantage of the workflows if you are okay with entering the rest of the details after creation.

Enter only the basic details on Create and then have different transitions based on components to capture the rest of the fields. The fields will be captured in the transition screen. Not the best way to do but easier than customizations if you can't go for different issuetypes.

Hey Jobin,

How would it handle multiple components? Will it give multiple transition possibilities?

Best regards,

Peter

Multiple components will open up multiple transitions. Honestly, that is something they will have to consider in the design. If they have fields per components, I hope they have considered the multiple components scenario :)

Maybe they should scrap components and go for a select list field instead and do the same thing if multiple components are not an option.

Depends on how you phrase the conditions.

Let's say you've got components A, B and C. You create one transition per component, and put conditions on them so that "Transition for A only appears if A is selected in the component field". It'll be fine when your users choose only one component, but if they select components A and C, then they'll be offered transitions for A and C. That's a bit of a nightmare, because if they choose A, they won't be offered fields that related to C.

You could change that to "Transition for A only appears when they have A *and only A* on the component field", but then you need to deal with the situation when more than one component is there. For that, you'd need a catch-all, which offers ALL the fields etc for every component.

Or, don't use components, use another, single-select field. Which might as well be issue type ;-)

Hi Rumceisz,

Wouldn't it be easier to do this by creating several issue types (Firewall change request, svn access request,...) and use different screen schemes for each issue type?

That's how I would do it.

I don't know of a way to do it based on components (what are you going to do if they add 2 or more components?)

Best regards,

Peter

To echo what Peter says, there's no way to do this based on component (plus, components are multi-select, which doesn't really fit your model).

You really should do this with issue types, and fields/configurations tied to the issue type. It's definitely the model that fits your need.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

106 views 0 5
Read article

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