Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding an Opsgenie team a work item

Scott McDonald
January 7, 2026

Hello,

When a user requests a certain type of service within the portal, a specific form is presented to them asking if resources have been engaged.  If the user chooses 'no' via the form submitted, we want to create an escalation for the incident, which is really us wanting to add a Team to a custom field.

1 - Is there a better way to do that (ex: us Request Participants vs the custom user picker type field)?

2 - Add the Team to the custom field using JSON (See below).  Is this the correct JSON syntax?

{
"update":{
"customfield_X":[
{
"add":[
{
"ari": "ari:cloud:opsgenie::team/ed725d4f-89c5-4bb4-83d6-70987237f1a1",
"name": "Team1",
"type": "team"
}
]
}
]
}
}

 

Requirement: 

What we want is for the automation to lookup the responders to an alert and add them to the Custom participants field so they can gain visibility to the ticket once its locked down. (currently not locking down tickets in sandbox. Prod does lock down.)

If we need to add the entire team that an alert is tied to, (instead of just those on call) that is OK as well.

1 answer

0 votes
Marc -Devoteam-
Community Champion
January 7, 2026

Hi @Scott McDonald 

The request participant field can only hold user or mail address, no groups or teams.

To add group member as request participants, see how-to-add-group-members-as-request-participants 

There is also an open feature request; JSDCLOUD-1268 

There is no API endpoint get the responders of an alert.

You can use the Teams API and endpoint; api-public-teams-v1-org-orgid-teams-teamid-members-post to get the account id's of the team members

so you should be able to branch over the account id's if stored in a variable and then edit the request participant field

See

Scott McDonald
January 7, 2026

@Marc -Devoteam- 

 

I found a way to add the Team via an automation rule: 

 

See: update team field 

 

Using the field ID and team ID via the URL, this will get it added. 

 

 

Question: Is there a way to restrict Item Security Level to the Team Field?

quote>

 

Scott McDonald
January 7, 2026

@Marc -Devoteam- 

 

Is there a way to link the alert to the ticket and have the alert send that information over? 

 

I tried looking into this and found there are some options with using responders to create alerts, and doing something with Syncs in the operations teams. But i didn't dig deep enough to see if either of these could help with what we are trying to do.

Marc -Devoteam-
Community Champion
January 8, 2026

Hi @Scott McDonald 

Issue security levels can only be set to roles, groups and users.

In the case of responders to create alerts, you need JSM premium subscription and see  the incident management section non the space settings.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events