Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,341
Community Members
 
Community Events
165
Community Groups

How make ProForma form visiable base on components selection in Service Management?

Is there a way to make visible ProForma form based on components selection? We're planning to add a ProForm form in JSM, we don't want to make it available for all components. There are several components in JSM, we want to make the form available for a few like 2, or 3, and for the rest of the components we want it to make invisible.

I could use a groovy script to hide but I'm unable to find the field id for Proforma. Does ProForma have any custom field id?

Thank you for your help.

1 answer

Hi Shah,

Since ProForma is not a custom field (1 form can have many custom fields on it), it does not have a custom field id.

A form is attached to one or more request forms. If you want to use a form for separate components, that seems to suggest they are pretty much different types of requests. So you could consider creating separate request types for requests that are essentially different things.

Another option could be to include the conditional logic into your form itself. ProForma lets you build forms with sections that can be displayed or hidden based on the selection made in fields on your form. So, essentially, if you could incorporate your component selection in your form, you could show or hide sections of the form accordingly.

Hope this helps!

Hi @Walter Buggenhout _ACA IT_ thank you for your response.

A separate request type won't work for us. We have request type "Product" and for that, we have components "Order, Refund, Inquiry, Replacement, etc". We want to have a form for a refund. We can't have separate request types for refunds which can cause a lot of confusion for users since we have been using the same request type and components for years.

The second option would be ideal for us. However, I'm not sure how it works. We want to hide the form all the time but when a user selects the component "Refund" then the form should become visible. Is that possible? How can add conditions in ProForma? I just found the transition conditions in the setting. Do you have an idea how can I set it up?

Thank you for your help.

@Walter Buggenhout _ACA IT_ I created a field in the ProForma form and linked it with Component. Now I can see all components in that field. With help of that, I can be able to show or hide the rest of the form, however, there are two issues I'm having, first, the form is all way at the bottom, like below the description field.

The second problem is, that it is showing all the components of the JSM. I have a script that can show only Product related components in the "Product" request type and it won't display these components to another request type. But script won't work with form and form is displaying all components. Any idea how can fix these issues? Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

163 views 0 4
Join discussion

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