Hi Everyone,
I am currently looking for a way to show and hide forms in JSM. The workflow looks at the inputs of an earlier form on submission, does some look ups on relevant assets then adds another relevant form based on that look up result.
Is it possible to "hide" (make visible to "internal team" only) the first input form via automation and get the new form into an"edit" mode in the customer portal (like when fill on a form when you raise a new request).
Currently, the user having to go up, manually open "form 2" and click the blue "edit" button does not feel the most intuitive from a user experience perspective.
// Edit 03.19
Added more detail due to replies below to help specify the problem.
Why?
I want to simplify the user interface, currently when you make a new request based on form input It leaves the form you just submitted in a state where it is visible. You have to manually click the newly generated "part 2" form title, and then click the blue "edit" button again. This is really not intuitive for users who are not familiar with JSM (and given this is the customer portal side, most of our users are not).
Yes, it is possible to show and hide forms in Jira Service Management using automations. You can use automation rules to trigger actions based on certain conditions, such as the submission of a form.
To achieve what you're looking for, you could create an automation rule that triggers when the first form is submitted. The rule would then look up relevant assets and determine whether the second form should be shown or hidden.
If the second form should be shown, the automation rule can update the request to include the second form and set its status to "Open". If the second form should be hidden, the automation rule can update the request to remove the first form and set the second form's status to "Internal".
Regarding making the first form visible to "internal team" only, you can restrict the visibility of the first form by configuring the form's permissions. By default, the form will be visible to all users, but you can change this so that only certain groups or roles can see it.
As for getting the second form into an "edit" mode in the customer portal, you can create a link or button on the request view page that takes the user directly to the second form in edit mode. This can be done using a Jira URL that includes the request and form IDs.
Hi Pankaj,
Thanks for the quick response.
I will explain in more detail, as I think you may have understood my request slightly differently. So I have tried to break it down in more detail below.
Why?
I want to simplify the user interface, currently when you make a new request based on form input It leaves the form you just submitted in a state where it is visible. You have to manually click the newly opened form, and then click the blue "edit" button again. This is really not intuitive for users who are not familiar with JSM (and given this is the customer portal side, most of our users are not).
If i misunderstood some of your messages, can you share with me some screenshots of how I could implement step 4 above (the rest is ok).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for providing more details. Based on your clarification, I understand that you want to change the visibility of the "Part 1" form from "external" to "internal" after the "Part 2" form is attached to the request.
To achieve this, you can create an automation rule that triggers when the "Part 2" form is attached to the request. The rule would then update the request to change the visibility of the "Part 1" form from "external" to "internal".
Here are the steps to configure this automation rule:
Regarding the "edit" mode in the customer portal, you can provide a direct link to the "Part 2" form in the request confirmation message or in an email notification sent to the user after the "Part 1" form is submitted. The link should include the request and form IDs and take the user directly to the "Part 2" form in edit mode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaj,
Thanks again for the quick reply. I'm struggling a bit from the 7th step, would you be able to provide some screens of how to implement 7 to 9 (I see my fields, but cannot see how this relates to the visibility of my form). Specifically, how to make an already completed form internal.
Best,
Ross
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same for me: how do I change the state of a form from within an automation?
I can log the state value with:
{{issue.properties."proforma.forms.i1".state.status}}
It seems as if I connot change this value with an automation...
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.