Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

ScriptRunner Behavior do not execute On Create screen

Hello Community,

My behaviors are not being executed when on the Create screen. They run on edit screens but not Create screens. 

Has anyone run into this issue? looking at the JIRA logs I notice that whenever I click Create Screen no Behaviors run. When I click Edit Screen all my Behaviors run. It is very weird.

Any help on this topic would be appreciate,


1 answer

0 votes

I suspect that the Behaviour runs, but does nothing.  Could you show us the configuration of it?

Hi @Nic Brough _Adaptavist_!

i have my Behavior linked to a personal project and to the Epic issuetype In said project. 

My Behavior actually works fine when I am in the edit screen for Epics. The issue is that when I am in the Create screen for an Epic it does not work.


tom lister Community Leader Feb 09, 2019

Yes but what does your configuration actually look like

@tom lister and @Nic Brough _Adaptavist_,

Below is the screenshot of my Behaviors config. As you can see I have mapped it to the right Project (Planview) and the right issuetype (Epic) and put the Behavior function on the right field "Project Type".

Once more, my code runs in the Planview project in the Epic issuetype on the Project Type field if I am in the Edit screen. It only does not run if I am on the "Create" screen.

If I look at the JIRA logs, none of my debugging statements display when I open the "Create" screen. All of my debugging statements display when I open the "Edit" screen. It seems that Behaviors are not running on Create screen. Does anyone know why? Could this be a JIRA setting I turned off?


Figured it out.

Checked the logs and it turns out a Behavior was not running correctly On Create screen and therefore the error it threw wouldn't let any other Behavior run.

Same thing happened to me.  I was checking for the current value of a custom field to compare it to the new value, but that obviously won't work if the underlyingIssue object does not yet exist. :-) 

Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you