Request forms

Show each customer organisation only the options you choose on a request type’s form.

Request forms narrow the options a customer can pick on a request type. You make option sets for a field, and assign each set to customer organisations. Find it in Jira settings, Apps, PortalPilot, Request forms.

Nothing changes for a request type until you save a rule for it.

“Choose the options each organisation sees.” Beside it, the Request forms list: three request types with their mode (PortalPilot form or JSM form), number of fields, organisations assigned, status and date last saved.
The Request forms list.

Two modes

  • JSM form: Jira’s own portal form stays. PortalPilot narrows the options of select fields and priority, and a linked pair of select fields, while the customer fills it in.
  • PortalPilot form: Raise a request in PortalPilot opens PortalPilot’s own form. It also narrows checkboxes, radio buttons, multi-selects and cascading selects, and the customer can attach files. It also draws URL, labels and components fields, user pickers and Share with. A required field Jira does not let customers fill in, or documents no way to set through its API, keeps the request type on the JSM form, and the admin page says why. JSM’s own portal keeps showing the JSM form until you remove the request type from the portal’s list (Portal setup tab).

You can switch a request type back to the JSM form. Your option sets are kept. See “PortalPilot form vs JSM form”.

Option sets per customer organisation

  1. Choose the request type, then add a field.
  2. Make one or more option sets: a name and the options it allows.
  3. Assign a set to each customer organisation. An organisation takes up to 3 sets.
  4. Under Everyone else, choose what a customer in no listed organisation sees: all options, or none.
  5. Check it in the preview, then save.
  • A customer who is in several organisations sees the union of the sets of all their organisations.
  • Organisation rules use a person’s real organisation membership, for agents as for customers. An agent is no longer treated as a member of every organisation: form rules, Share with, the My requests filters and an organisation-based Visibility setting all see only the organisations the agent belongs to. A Jira administrator who is not a JSM agent gets no organisation-based options.
  • You can import and export option sets and organisation assignments as CSV.
  • Options Jira adds to a field after you saved the rule stay hidden for customers the rule narrows.
“Pick the form mode per request type.” Beside it, the Request forms editor for a request type called Order a laptop: Form mode set to PortalPilot form, the Narrowed fields list with Hardware model, and the Option sets tab with the Standard and Premium sets.
The Request forms editor, with PortalPilot form chosen.

Cascading sets

A cascading field has parent options and child options. A set lists the parents it allows and, for each parent, the children it allows. A parent with no children in Jira can be picked on its own. A parent whose children are all refused for a customer is not offered to that customer.

A linked pair of two select fields works the same way: the child follows the parent, and a child value that is no longer allowed is cleared.

Guidance, not access control

  • Jira decides who may raise a request type and what a request may hold. Request forms only change what the form offers.
  • In the JSM form, a failed organisation lookup shows all options. In the PortalPilot form it shows an error and no form instead.
  • A lookup also counts as failed for a customer who is in more than 500 organisations. The JSM form and the request list filters are then not narrowed.
  • The organisation map never reaches the customer’s browser. The browser gets only the option lists for that customer.
  • Jira draws its own form first and loads PortalPilot’s changes after it, so the JSM form can show all options for a moment. Where a value must never be sent, use the PortalPilot form: the server checks every value.

Share with

In the PortalPilot form, a customer who belongs to organisations linked to the service project can keep a request private (No one) or share it with one of those organisations. It is offered only when the site’s Organizations field is found. In General settings, Request forms tab, “Preselect the customer’s organisation in Share with” is off by default. Turn it on for sites where JSM shares new requests with the organisation automatically.

Limits

WhatLimit
Fields per request type10
Option sets per field20
Options per set, and per field5,000
Form rules per site (request types with a rule)1,000
Organisations per field1,000
Sets per organisation3
Cascading: parent options per set1,000
Cascading: children per parent5,000
Cascading: parent-and-set entries per field3,000
Cascading: child references per field20,000
Set name40 characters
Organisations a customer can be in, for the PortalPilot form500

A rule that is too large is refused when you save, and nothing changes.

A site can have at most 1,000 form rules. Saving a rule for a new request type beyond that is refused with “This site has the maximum of 1,000 form rules. Delete one to add another.” Changing an existing rule is not affected.

What is stored

  • The rules, in Forge storage on your site: option ids, set names and the organisations you chose.
  • The account ID of the admin who last saved each rule. It is part of the personal data report and is erased for a closed account.
  • Saving registers the change with Jira as the app (UI modifications). Apart from the optional Assignee field, that is the only thing PortalPilot does as the app.

Need help with PortalPilot? Contact us