Behaviours not executed from admin mode ?

JIRA 6.3.12

Scriptrunner 3.1.4

I defined some behaviours, they work correctly (issue create screen, issue edit screen, workflow transition screen). But when I am in admin mode, and then click the "Create" button, I first have to select the project and the issue type, and only then the issue create screen is shown. In this last screen my behaviours are not executed.

Is this a known limitation ?

3 answers

This widget could not be displayed.

No, it's not a limitation, and should work fine like that. But we have seen an occurrence of this before, but were never able to work out why or reproduce. We thought it had something to do with another plugin, perhaps something related to "testing"?

This widget could not be displayed.

One thing that I did note is that (one my version) the project and issue type fields have different name/id values on the two different screens.  This might cause a problem somewhere in your behaviour and/or field mapping if you are triggering on a specific project and/or issue type.

 

I know in the past I have had to set the behavour mappings to All Projects/All Issuetypes and deal with that inside of the behavour scripts as stuff like this was a problem depending on what screen your were viewing when you clicked "CREATE ISSUE". 

 

now that I am remembering, in the past I have seen one screen return issuetye as an array and another as a string causing me to do this check if (issueType instanceof ArrayList) {issueType = issueType[0];} I haven't seen this issue for a while but I still do the check anyway!!

This widget could not be displayed.

I did some debugging. It seems the behaviour script is executed correctly, but on the resulting screen non of the hidden/required methods is executed ?

@Jamie Echlin [Adaptavist] , we do not have any test plugins installed. We have the issue systematically all times we create an issue from an admin screen (even the screen to manage versions in a project!)

Of course this is not blocking, but very annoying.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

717 views 0 3
Read article

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