Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I create a JSM transition form based on the existing generic screen?

Phil Bustin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2024

I would like to create a form for a JSM project/issue type that already contains the fields that are in the generic screen some users are used to (so far, only some users are using JSM).  I would then add a few custom fields, and add form actions based on the values in those fields.  For instance, if the user selects a certain value in Application, I'd display a checkbox the user could check, and/or a single selection field for which the user could select an option.  An automation (or form action?) would then do a clone into a one of several Jira Software workflows (or not), depending on field values.

I haven't tried any of this yet; I thought I'd check first to see whether, if I create a custom form, it can be already populated with the fields from the existing generic screen.  I will of course add fields from scratch if I need to; I'd just like to know what I'm heading into first, if possible.

Also, would JSM automation allow for the form actions I've described above (hide a field, show a field based on another field's value) without adding a custom form?  I know I can clone an issue with a JSM automation, so I don't need a custom form for that.

 

2 answers

2 accepted

2 votes
Answer accepted
Kris Dewachter
Community Champion
January 4, 2024

Hi @Phil Bustin ,

I presume you are talking about adding a form to a new or existing 'Request Type' in a JSM project ?

In the form, you can add all kind of fields. The fields can, or can not, be linked to Jira custom fields (they probably already exist in your current request type form). So yes, you can re-use the existing fields in the new form.

In the form, you are able to control the behaviour of sections, based on the selection of other fields (ex. display or hide a field, based on the selection in another field). You don't need automation for that.

Jira automation can NOT be used to control the form (show or hide fields based on the input), because the automation only runs on an new or existing Jira ticket. So AFTER the form is submitted.

Best regards,

Kris

Phil Bustin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2024

When I link my new field to the existing field, there is a drop-down with only one choice: Do not link.  What is that about, please?

Kris Dewachter
Community Champion
January 4, 2024

What kind of Jira custom field did you create ? And what kind of field did you create in the form ?

When you create a field in the form (ex. a "Short Text" field), and you click the "Linked Jira Field" dropdown, you should have a selection of existing Jira fields you can link.

Screenshot 2024-01-04 at 21.38.03.png

Phil Bustin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2024

I succeeded in creating a drop-down field and linking it to an existing field.  Then, when I tried to add Project, because that single selection field is present in the existing generic screen, the form would not let me select the actual Project field.  The only field it displayed for linking was a custom field "Triage to Project".  If I can't have the Project field drop-down in the form, I can't use it.

Phil Bustin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2024

I may not need the Project field after all, but I need to know if attachments can be added to a custom form.

Kris Dewachter
Community Champion
January 6, 2024

Yes, You should be able to select a "Attachments" field when you add a new field to your form

Screenshot 2024-01-06 at 19.12.44.png

Phil Bustin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2024

Thanks.  One question down, 100 more to go.

0 votes
Answer accepted
Rebekka Heilmann _viadee_
Community Champion
January 4, 2024

Hi @Phil Bustin 

just to be clear on some concepts in JSM:

JSM works with Issues and Workflows the same as Jira Software does. So Issues are shown on Screens that show fields, have a Workflow and so forth.

Requests are what users open trough the different channels. Requests are mapped to an Issue Type, so once a Request is opened, the respective issue is opened in the background. Customers see requests, Service Desk Agents see the issue. Requests can have more or less fields than the issue, but usually less. Requests are "forms" of some sort, but only contain issue fields and some explanation around it.

The "Forms" feature enables you to add more of a free form to your requests. You can have all sorts of inputs that don't need to be mapped to an issue field and there you can do some automation (show sections only if...)

You can add one form to multiple Request types and reuse that. However, it is restricted in some cases, translations won't work for instance.

Phil Bustin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2024

Thanks (everyone) for your contributions!  An admin at work showed me that JSM already (already in our case, at least) had a form for a Request Type, so I'm just going to build on that.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events