Jira 6.48 : ScriptRunner CustomLister IssueCreated not fired when issue created through REST API

Using Jira 6.4.8

Created CusomListener of ScriptRunner to catch event IssueCreated. When issue created throgh Jira UI, then event fired and script executed.

 

When issue created throgh REST api, IssueCreated event not fired. Can you let me know it's a known issue?

1 answer

Hello Pramukha.

We have done some testing, setting up a listener like so:

Screen Shot 2017-05-15 at 11.43.56.png

And we have sent a post request through the API like it explains in the official Atlassian documentation here

We have been unable to reproduce the error, as far as we can see the IssueCreated event is firing correctly and it is catched by the listener. Maybe something else is missing in your setup?

Cheers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

139 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you