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?
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could try as in automation you hate the action to send a web request.
Check the customer-service-management API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.