Page History
HTML |
---|
<style> .release-box { height: 30px; width: 100px; padding-top: 8px; text-align: center; border-radius: 5px; font-weight: bold; background-color: #d4af37; border-color: #FCE28A; } .release-box:hover { cursor: hand; cursor: pointer; opacity: .9; } </style> <meta name="robots" content="noindex"> <div class="release-box"> <a href="https://docs.perspectium.com/display/gold" style="text-decoration: none; color: #FFFFFF; display: block;"> Gold </a> </div> |
To enhance Service Gateway for Jira, you can configure the Jira Meshlet to the directives listed below:
Directive | Default Value | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sessionAuth | true | Indicates whether you want to authenticate your Jira connection with session IDs instead of basic authentication. NOTE: This directive only works with Jira server, thus, you will need to set server to true. (See the next directive).
The following example enables the use of session IDs for your connection:
| ||||||||||||||||||||
server | true | Enable the use of the Jira server for your Jira connection. NOTE: This directive needs to be enabled in order to use the sessionAuth configuration.
| ||||||||||||||||||||
useTransitions | false | NOTE: This feature is available in Gold 5.0.12.3+ Enables you to use your own mappings for handling transitions in Jira.
By default, the Jira meshlets will call the transitions API with just the ID value from the Common Document's <state> field:
However if you want to use your own mapping that you define in the static/mapping/default folder of the meshlet's installed directory, you would set the useTransitions configuration to true and then add your own mapping and define it for use in the static/config/fieldMapping.json for the transition action. For example, if you wanted to also map the resolution field and add a comment for a transition, you would add the following mapping named transition.json into the static/mapping/default folder of the meshlet's installed directory:
And then in the static/config/fieldMapping.json you would reference this mapping for the transition action:
NOTE: To properly do transitions with a mapping in your Jira project such as the above example with setting the resolution field, you must have a transition with a screen in your workflow. See here and here for more information. Jira provides a default Resolve Issue screen you can set for the transition. If you do set up a transition with a screen in your workflow, you will get the error Field 'resolution' cannot be set. It is not on the appropriate screen, or unknown. when trying to do a transition with the resolution field. |
Similar topics
Content by Label | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|