Apps documentation
Extension for Jira Service Management
Cloud Server/Data Center
Extension for Jira Service Management

Cloud

Server/Data Center

Guides
FAQ
Release notes
Last updated Apr 20, 2020

How to use Insight with Dynamic Forms?

Insight - Asset Management for Jira app provides new custom fields which can be also selected for Dynamic Forms. Extension for Jira Service Management app supports the following custom fields:

  • Insight Object/s' Field
  • Insight Referenced Object (single)' Field
  • Insight Referenced Objects (multiple)' Field
Info

For more information about these custom fields, see official Insight documentation.

Warning

Notice a few restrictions:

  • These custom fields can be used only as a Related field. They cannot be a trigger for Dynamic Forms.
  • It is impossible to set a default value for these custom fields.
  • Insight Referenced Objects (multiple)' Field cannot be configured as a required field.
Info

For more information about Dynamic Forms, read documentation.

Why can’t I create Dynamic Forms in Jira?

This feature works only on the Customer Portal.
To create Dynamic Forms in Jira, use Dynamic Forms for Jira app.

What is the difference between options: Select all and Apply to all?

Select all allows to select all available request types. If you add a new one to the service project, you should add it to this configuration manually.

Apply to all allows to select all available request types. If you add a new one to the service project, it will be added to this configuration automatically.

Where can I found information on CRON expressions?

Here you can find information on CRON expressions: CronTrigger Tutorial.

How can I add a new group?

To add a new group, go to Jira Administration > User management > Groups, enter a name of the group and click Add.

How can I restrict access to removing participants from selected request types?

You can do it using Restrict access to remove participants option in General section.
For more information go to: Restrict access to remove participants

How to avoid problems with displaying Bundled Fields in Jira emails incorrectly ?

Bundled Fields can be added to an email as regular custom fields. However, Bundled Fields configuration slightly differs from the one provided by Jira. To avoid problems with displaying Bundled Fields incorrectly, follow the instructions below.

Note
Before you start, create a proper email template (HTML format) and .vm file as in instructions here (except the step no. 4).

In standard custom fields configuration, you need to add the following code to customfields.vm file:

#disable_html_escaping()  
#set ($customfield = $customFieldManager.getCustomFieldObject("customfield_10000"))  
#if($issue.getCustomFieldValue($customfield))  
<tr>  
    <th>#text($customfield.name):</th>  
    <td class="has-icon">        
        $textutils.htmlEncode($issue.getCustomFieldValue($customfield), false)  
    </td>  
</tr>  
#end   

For Bundled Fields custom field pass this code to the customfields.vm (pt. 4 in previously mentioned tutorial):

#disable_html_escaping()
#set ($customfield = $customFieldManager.getCustomFieldObject("customfield_14401"))  
#if($issue.getCustomFieldValue($customfield))  
<tr>  
    <th>#text($customfield.name):</th>  
    <td class="has-icon">  
    #set ($componentAccessor = $constantsManager.getClass().forName('com.atlassian.jira.component.ComponentAccessor').newInstance())  
    #set ($htmlGeneratorClass = $componentAccessor.getComponentClassManager().loadClass("com.deviniti.plugins.bundledfields.HtmlGenerator"))  
    #set ($bundledFieldsServiceClass = $componentAccessor.getComponentClassManager().loadClass("com.deviniti.plugins.bundledfields.BundledFieldsService"))  
    #set ($contextId = $customfield.getRelevantConfig($issue).getId())  
    #set ($htmlGenerator = $componentAccessor.getOSGiComponentInstanceOfType($htmlGeneratorClass))  
    #set ($bundledFieldsConfig = $componentAccessor.getOSGiComponentInstanceOfType($bundledFieldsServiceClass).getConfiguration($contextId, $customfield.getIdAsLong()))  
        $htmlGenerator.toHtml($issue.getCustomFieldValue($customfield), $bundledFieldsConfig)  
    </td>  
</tr>  
#end   
Note
  • Type the ID of target Bundled Field to getCustomFieldObject parameter. Presented Bundled Field’s ID is exemplary.
  • When the file configuration is ready, remember to restart your Jira.