-
Notifications
You must be signed in to change notification settings - Fork 0
How to set Glue target
When utilizing the Glue orb for CircleCI, you will need to have a thread ID or group ID prepared for your messages to send to. The target
field accepts either a thread ID (e.g., thr_ABC123
) or a group ID (e.g., grp_XYZ789
).
To find the appropriate ID for your target:
- Navigate to the desired group or thread in Glue.
- Select the option to copy the link to the group or thread.
- Extract the ID from the copied URL. Threads start with
thr_
and groups start withgrp_
Example:
https://app.gluegroups.com/inbox/<thread or group id>
The Glue orb expects a default target to be set. In the event no target
parameter is provided to the orb, it will fall back on the value stored in the $GLUE_DEFAULT_TARGET
environment variable.
This value can be included in the same restricted context holding our OAuth token, which applies to any project within the organization that uses this context.
Alternatively, the context could omit the default target, and it could instead be set individually on each project: CircleCI environment variables.
To change the target your message will be sent to, or to send to multiple targets at the same time, use the target
parameter of the notify
command. The target
parameter can accept one or more IDs separated by a comma.
Example:
target: thr_ABC123,grp_XYZ789