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 ?
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.
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.