Hi is there any way to get the information of the current event. Like I would Like to know what kind of event is happening. Ex: Issue created, Issue commented etc.
I would like to access this information so that I could send a custom message to a third party app
I mean, where are you wanting to "get" the event?
I can probably answer this without knowing though. Events are intended to be a stream of notifications that things are happening in Jira. They're announcements for things to read if they want.
The way to read the list is with "listeners" - they (selectively) read the events and run code to do what they are intended to do.
In the code for a Scriptrunner listener, you literally have the event in the context, so you can use it directly without any need to do any selection or reading. For example:
def issueEventHappenedTo = event.issue
Yes, you said that already, but you have clarified enough for me to be able to add to my answer.
The best/easiest way to do this would be with a listener. Look to scripted listeners, as you'll be able to write code in one of them that pokes remote systems. There's some examples over at https://library.adaptavist.com/search?term=listener
Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events