Resources

Introduction 

It's common for teams to use the same piece of information in multiple actions. For example, the URL of a Jira project, or a list of known-good domains. If this information is stored directly inside the actions' options and it changes (a new known-good domain is added), every action will need to be updated individually. Resources provide a way to store information in a single, centralized location, so it can then be accessed from any action.

Resources are similar to global variables in software development and can be used in a similar way to text credentials.

Sharing a Resource 

Resources will, by default, only be accessible to the Team they are created within. Resources can be configured to be shared with all other teams in the tenant by selecting the 'All teams & drafts' access option. Users can only share with teams for which they have the " resource save" permission.

Need to share with other teams? Reach out to the team to discuss adding the feature to your Tines tenant.

Using a shared resource 

Resources with the same name as Resources shared across multiple Teams will use the Resource located within the same Team as the Story.

You can view all resources available to your team by clicking the "Shared with this team" section in the resources page. You will not be able to view or modify the contents of the resource unless you have the relevant permissions in the team owning said resource.

Example 

The below action config shows a resource being used in a HTTP Request Action.

When the above action runs, the resource placeholder will be replaced by the contents stored in the tines_jira_url resource.

Creating a resource 

From the list of resources, choose "New Resource". Resources can be plaintext or a JSON object, including an array. There is a 5MB size limit on resources.

Using in actions 

Data from resources can be used in actions with the RESOURCE key in formulas.

Was this helpful?