Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,507,353
Community Members
 
Community Events
180
Community Groups

When a user Ack an Alert in Opsgenie, he becomes the assignee of it in JIRA

We have integrated Opsgenie with Jira Cloud project so tickets created in Opsgenie will be created automatically in Jira.

 

When a user Ack an alert in Opsgenie - it get assigned to the user.

The problem:  Assignee in Jira is not being changed to the same user.

 

We would like to find a solution where the user Ack, it will become the assignee in Jira.

 

Script Runner is an option but there is no record for the ack'ed in Jira

 

Please assist

1 answer

1 accepted

0 votes
Answer accepted
Darryl Lee Atlassian Team Mar 22, 2022

Hi @eran.gur ,

This is Darryl. I am here to help. :)

Understand that you would like to find a way to automatically assign the Jira ticket to the same user as the one who acknowledged the Opsgenie alert which this ticket was created from.

This will need to set up the Jira Automation Rules.

Similar to Opsgenie’s Alert Policies, Automation Rules are automated actions taken on tickets based on if specific criteria are met; WHEN → IF → THEN.

Automation Rules can be found under:

  • Globally: Settings menu → Systems tab → Automation rules tab
  • OR per Project: Projects tab → select project → Projects settings tab → Automation tab

Steps:

  1. In Opsgenie - Map the integration to add a comment on the ticket when the alert is acknowledge:
    setp1.png

  2. In Jira - Create an Automation Rule that filters on the user’s name and assigns them to the ticket:

    step2.png

Example:

Screenshot 2022-03-22 at 18.11.46.png

example2.pngexample3.png

NOTE - Multiple Automation Rules will need to be configured for each assignee, but they can be easily copied/cloned.

Simply rename the rule → adjust the IF condition → adjust the THEN condition:

example4.pngexample5.png


Hope this helps.

Kind regards,
Darryl Lee
Support Engineer, Atlassian

Thanks for this super detailed answer Darryl.

I'm able to preform the full integration with 1 problem, 

In Opsgenie, the acknowledge alert is not in the activity log.

In Jira - I'm not getting anything under commentץ

 

All other integration rules are working (by ack'ed, changed to in-progress, change to done)

 

Seem that OpsG is not adding the comments 

Darryl Lee Atlassian Team Mar 22, 2022

Hi @eran.gur ,

Thanks for the further details.

May I confirm with you that have you configured the outbound rules of the Jira integration on Opsgenie to add a comment when an Opsgenie alert is ack'ed?

As described in the screenshot:

setp1.png

If this has been done but still not seeing any comment is added to the associated Jira ticket, please reach out to the Opsgenie Support Team via this link, my colleague will help you from there.

Kind regards,
Darryl Lee
Support Engineer, Atlassian

Hey Darryl,

We have decided to implement the automation using Workato.

This solution is not scalable for us since we have around 30 members in the support team and aprox 100 projects.

 

Thank you for your help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events