Forums

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

Script Listeners - Issue Created event not fired

SARAVANAKUMAR December 28, 2018

I am doing a simple validation on a custom field in script listener,but create event not firing once i submit create issue link..

Please clarify below points,

1. can i able to see log files related on event firing

2.Please give some example scripts related custom field validation

1 answer

1 accepted

1 vote
Answer accepted
Sergej Grasmik December 28, 2018

Hi, 

try to check if post function "fire event" exist for "create" transition.

Like that (3rd post function)

event1.JPG

or that

event2.JPG

SARAVANAKUMAR January 2, 2019

thanks grasmik,,

above solution working on after issue created event,but i need to validate custom fields for before issue created event. and throw exception to UI

Sergej Grasmik January 3, 2019

Hi,

set transition validator for "create issue"-transition, than.

e.g "field not empty" validator.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events