Micro Focus Connect planning guidelines
This topic provides guidelines on how to plan a deployment of Micro Focus Connect in your organization.
Micro Focus Connect requires network proxy and certificate configuration, and the provisioning of access credentials. These items need to be updated regularly, as certificates and credentials typically have expiration dates.
For proper operation in an enterprise environment, Micro Focus Connect requires the usage of back-office utilities such as Windows/Linux shell scripts and the scheduling of regular automated maintenance tasks, in the format of Windows Scheduled Tasks or Linux cron jobs.
Some of these automated tasks are critical for the stable operation of Micro Focus Connect, such a s a regular database purge. Others enable special synchronization scenarios that are otherwise not feasible, or which require customer-specific scripting.
Due to the above, smooth operation of Micro Focus Connect requires the following skills typical for administering common backend systems:
Server OS skills, such as shell scripting, CPU, monitoring and management for memory and disk space, and backup and restore processes.
Networking skills, such as proxies, certificates, and firewalls.
Knowledge of the operational parameters, deployed configurations, and add-ons of the endpoint products to be synchronized via Micro Focus Connect.
Use case considerations
This section describes the synchronization use cases and what you need to consider when planning a use case.
After you understand your needs, fill in a worksheet in which you specify your endpoints and fields. For an interactive worksheet in Microsoft Word format, download the Worksheet.
Types to synchronize
When planning a Micro Focus Connect configuration, you need to first determine your use case.
You should have answers to these questions:
|What type of users are working in each product?||Who are the users? Are they developers, testers, product owners, or users with other roles?|
|What are the roles of those users?||Are they responsible for the creation or update of the entities, such as the backlog items, issues, requirements, and bugs?|
|What are the roles of the products?||What system is used to record and store entities, such as stories, sprints, defects, and tests?|
|What type of information needs to be shared between the users of both products?||Determine what information needs to be shared. Micro Focus Connect is not intended to be a full replication tool. Its intended use is to synchronize the most relevant information to the parties involved. This means that not all types and fields will need to be synchronized. We recommend starting with a basic use case and expand it as needed.|
|Which users will create which items?||
Determine which users will be creating items.
For example, if using ALM/QC with Azure DevOps, one scenario would be for a user of Azure DevOps to create backlog items that are sent to ALM/QC as different requirement types. Then, users of ALM/QC can update the fields on those backlog items/requirements in Azure DevOps. ALM/QC users may create defects that are synced to Azure DevOps for resolution by the development team.
|Which subsets of data need to be synchronized?||Generally, there is a subset of types that need to be shared between roles or products. Maybe you are synchronizing backlog items to requirements and defects to bugs, but tasks may not be relevant to the other team.|
|What are the permissions?||Will the users of the other product be allowed to update the field information and synchronize it back?|
|Are there relationships or links between types?||
These relationships may be required or optional. For example:
|What is the direction for the synchronization?||The direction that you set at the type level in your connection dictates which product can create that item type. In most cases, the direction should be unidirectional. If you find that your use case calls for bi-directional creation of items for many types, it is often an indication of a process or governance problem that needs to be addressed. Bi-directional updates of certain fields such as Status, Author, and Comment, are common use cases.|
|Do you already have information synchronized between the two products?||
A common scenario for organizations new to Micro Focus Connect is the move from another synchronization technology, or the manual entering of artifacts into two products. If this is the case, you can indicate to Micro Focus Connect that these items already exist in both products and should not be newly created. By following these steps, you can avoid duplication of data, allowing Micro Focus Connect to pick up where you left off with the other synchronization tool. For best results, validate the configuration in a test environment.
In summary, avoid synchronizing all fields and types. Synchronizing all fields and types does not add any value and may even have a negative impact and complicate the configuration. Clarity about the synchronization use cases and actual business needs is essential. If the use case is not clearly defined, do not set up a connection.
Fields to synchronize
After you have determined the types that need to be synchronized and understand the relationships between the types, you need to consider which fields need to be synchronized. Setting the direction on the field level indicates which product can update that field on that item. In general, bi-directional field updates are more common than bi-directional type creation.
Choosing the field types
Fields are of different data types and planning a synchronization requires knowledge of the data types. Not all fields are compatible with one another and the data type of some fields is not always easily apparent. For example:
A Date field might internally be of type Date, or of type Date/Time with the time portion not displayed, but also not set to zero. Another example is a String type with a text value resembling that of a date, but the system does not automatically treat it as a date.
Product add-ons may add additional field data types or display fields in a different manner in the product's user interface, compared with how these fields are stored internally. This is especially common with both single-selection and multi-select lists. Micro Focus Connect will always present the field as it is stored internally by the product—not by the modifications made to the UI by the add-on.
Micro Focus Connect may not support all field data types. Refer to the connector's Readme file for a list of non-supported data types.
For some products (for example Atlassian Jira), add-ons might add custom field data types with a custom storage approach. Synchronizing fields of such data types may not be possible and will often require some experimentation. Refer to the connector's Readme file and the Jira SAFe Plugin.
Choosing the fields
The choice of which fields to map from one product to the other is driven by your requirements, not the tool. However, the products themselves will not allow you to map incompatible types. If you configure the connection to do so, the products will return an error. For example, if you map a String field to a Relationship field, it will fail.
The following table lists your primary considerations:
You cannot map a read-only ID to a read-only ID. For example, when synchronizing ALM Octane with ServiceNow, you may want to map the item IDs from both products. Since IDs are system generated fields, Micro Focus Connect cannot override those fields. The same applies to other system generated fields, such as Created time and Modified time. To achieve the use case of seeing the corresponding ID from both products, create a custom field in both products as a text string fields. Then, perform a unidirectional mapping of the ID from each system to the custom ID field on the other side.
Micro Focus Connect informs you of read-only fields and that the direction of synchronization will be changed. The information is reported by the endpoint product.
All required fields on a particular side, master or target, must be mapped when items of that type are being created. Consider the following:
|Enum fields||When mapping enum fields, always map all enums on each side within the value mapping view, even if there are duplicate mappings on one side. Ideally, create matched enum pairs on both sides. If you have duplicate values on one side, the bolded value (the lowest in the list) will be the default value when updating an item TO that product. If that field is a one-way update FROM that product, the bolded value will not be relevant.|
Another aspect of the planning process is understanding all workflows and workflow rules in your endpoint products. Micro Focus Connect generally cannot violate any workflow rules that the products have in place. However, there may be exceptions. Some products do not enforce the workflow when the API is being used, which is the way Micro Focus Connect communicates with the products. Some products allow you to have role-based privileges override the workflow restrictions. You can take advantage of this capability using the Micro Focus Connect data source user account/role. In cases where the workflows are respected, you will have to account for this in your connection setup. Take time to determine the products through which Micro Focus Connect will automatically ignore the workflow as much as possible.
User fields in Micro Focus Connect, refer to fields in your connections that have user values. For example, if you are synchronizing a field on defects called Assigned To, it is likely synchronizing a user value. User values are different than other fields as users must exist in the product to set the field to that value. There are several things to consider when planning the synchronization of user fields:
Different products represent users in different ways. For example, ALM/QC represents users by a username. ALM Octane can represent a user by their full name ‘Gary Bear’, a username ‘GBear’, or by their email address ‘email@example.com’. Jira represents its users by their full name.
Make sure you know how the products represent users if you intend to synchronize user fields.
If you are synchronizing between ALM/QC and Jira and you want to synchronize user fields, you will need a user map in Micro Focus Connect for Gary Bear that shows that he is known as ‘Gary Bear’ in Jira, but as ‘GBear’ in ALM/QC. For details, see User maps and user matching and Batch utility scripts.
Not all user fields are set the same way in all products. For example, the Assigned to field is commonly set by a user of the tool whereas Created by or Modified by are set automatically and cannot be set manually.
Some products allow impersonation which means that if an item was created in Product A by Gary Bear and synced with Product B, it will set Gary Bear as the creator in Product B. However, if the product does not allow impersonation, Product B will show the Created by user as the Micro Focus Connect data source account.
Prepare for the deployment
Before you deploy Micro Focus Connect, consider the following:
The credentials include everything needed for authentication, for example, user names, passwords, tokens, and API keys. Some data sources require user names and passwords while others require tokens. Refer to the Readme for the applicable connectors. Follow these guidelines:
Full read/write access is typically required. For details, refer to the Readme for your connector.
Note: Different products require different setups. For example, there are specific guidelines for the use of Jira boards and screens.
|Proxy and certificate information||Confirm whether the products you are connecting are reached via a proxy or require certificates. Extra steps will need to be taken to configure Micro Focus Connect to utilize these configurations.|
|Sandbox instances and project||When trying out Micro Focus Connect for the first time, it is a good idea to set up a separate Micro Focus Connect test server to validate different items, such as data sources, connections, configurations, user mapping strategies, synchronize criteria, and calculated values. Then export the connection and import it to the production server. It is important to understand how Micro Focus Connect works, how it synchronizes, when it synchronizes, and the implications of doing so, before you apply your configuration to production data.|
|Sample projects and default values||
Some connectors require sample projects, boards, or workspaces for the data source configuration. When a project is designated as a sample, it instructs Micro Focus Connect to use that project as a template for your synchronization. Through this template, Micro Focus Connect discovers the types, fields, and list values that will be available for configuring a connection using this data source. When you set up a connection, the wizard shows the sample's types, fields, values, and users as options of items to synchronize.
The metadata schema of the sample project must match the metadata of the project being synchronized. If you intend to synchronize with different templates, each template will require a different data source. For details, see Create a data source.
For example, if you choose an Azure DevOps project that uses a CMMi workflow as your data source sample, you will see those types, fields, and values as options when setting up your connection. You should not use that data source for your connection if you also intend to synchronize projects that use a Scrum workflow, since the types, fields, and values, would be different. This case would require another data source.
|Custom types and fields||
Prepare this information before completing the worksheet:
Once you have thoroughly reviewed the above guidelines, use the interactive Worksheet for each entity type you intend to synchronize, and for every unique project-to-project mapping.
Obtain the following information before completing each worksheet:
Document value maps for enumerated value fields
Indicate which fields are relationship fields along with the field type if known, for example, the name of a related item, a link to a related item, or an ID of a related item. The mfcQueryTemplates utility can help you collect this information from your product. For details, see Batch utility scripts.
Indicate which fields are custom fields.
Indicate which types are custom types.
Outline any custom data models. For example, if a custom type that is being synchronized is a sub-type of another type, indicate that in your worksheet.
Outline any custom workflows or rules.
Use the following resources to assist you in your initial setup:
|Movies on common integrations||Micro Focus Connect video gallery|
|Foundation training course||Education Central|
|Sample connections||Common use-cases|
|Links to blogs and Community||Get more help|