The Visibility Settings is the section of the configuration that defines when the Cross Connector should be visible on your Jira issues.
For this, navigate to TMS Component Activation and select Add Visibility Settings.
Fill the following information (screenshot filled with mock data)
Jira Project
The project in which the Cross Connector should be visible.
Jira Issue Type
The Jira Issue Type for which the Cross Connector should be visible.
Customfield ID
The ID of your custom field that is being used to control visibility.
How to create a custom field and identify its ID can be found here.
CustomField Values
The values of the custom field that will be used to control visibility of the Cross Connector UI block.
The values you have to inform here is dependent on the type of custom field you use.
If you are unsure how the value of your custom field is stored you can use the following API call:
<JIRA_SERVER_URL>/plugins/servlet/crossalm/cc5/cc_transport_management?type=get-customfield-value&jiraIssueKey=<JIRA_ISSUE_KEY>&customfieldId=<CUSTOMFIELD_ID>
The output could look this this:
{"customfieldId":"customfield_10113","value":"FSP"}
Jira Final Status
Inform in this field, the status from the Issue Type chosen in the field Jira Issue Type which the component will be rendered as read-only.
SAP Settings
Enables you to register multiple development systems to be used in your application. The development systems defined in this section will be available for the end user in the Dropdown List “Dev. System”.
SAP System Type
The SAP System Type for which transport requests will be created.
Currently only ABAP systems are supported.
SAP Client
The SAP Client in which the transport requests will be created.
SAP CTS Project
You can inform in this field the CTS project available ein the SAP system.
Please, note that the CTS Project Switches can affect the way the Transport Requests works.
After having finished creating a Visibility Setting you should see it on the list.
Note that you can have multiple Visibility Settings for different systems by pressing again the button Add Visibility Settings.
Verify
Create a new issue, where no value is informed for the custom field you specified.
The “Cross Connector - Transport Management System” will not be visible.
Now inform the value specified in the configuration.
I am using field “Landscape” and use value “FSP” as indicated by the screenshots above.
Now the UI block is available and allows transport request creation for the specified system, provided you got the necessary authorization.