Forums

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

Can a pagerduty integration reference an Organization Detail Field?

Fletcher Simer September 12, 2024

I have been able to set up PagerDuty incidents to be created based on a JQL query of a couple different field values of our issues in our support JSM project to notify our on call support agents when an issue is created or modified to meet those criteria. Basically, if an issue is critical priority and a customer environment field is set to production, then a pagerduty incident gets triggered. However, within our Organizations, we have a detail field for if an Organization is part of our premier success program. If this is true, when an issue is created through our portal by one of the customers within that organization, I would like it to create an incident in PagerDuty to alert our on-call support team. However, I can't seem to find a way to reference that field in a JQL query to trigger that PagerDuty configuration to create an incident. Has anyone run across a similar problem? Or have you implemented another solution for a need where when only certain Organizations create an issue, it triggers a pagerduty incident?

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 13, 2024

Hi @Fletcher Simer 

Welcome to the community.

Just a brain wave, not a tested solution.

You can't JQL organization details, however these can be access via API.

You could create an automation to get the organization details and grab the required field, store that value in a CF.

Tis can be searched by JQL and, than you could specify this within your pagerduty configuration.

Fletcher Simer September 13, 2024

Thanks Marc,

I do have a custom field created on the issue for premier success program customers, but I can't figure out how to use the Organization Detail field to set that to true out of the box. Are you saying that within an automation in Jira, I can make an API call to get that organization detail data?

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2024

Hi @Fletcher Simer 

You could try as in automation you hate the action to send a web request.

Check the customer-service-management API.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events