I have a [Edit: workflow transition with a] simple scripted condition in which I have placed the single word "false", yet it behaves as if it evaluated to true.
When previewing it I see this error:
Cannot cast object 'haslers(haslers)' with class 'com.atlassian.jira.user.DelegatingApplicationUser' to class 'com.atlassian.crowd.embedded.api.User'
JIRA version: v7.1.4#71008-sha1:eaa0661
This is on server, not cloud, so I wonder if the
com.atlassian.crowd.embedded.api.User is incorrectly referencing code in the cloud codebase (because of
crowd) instead of the server codebase.
Here's a screenshot of how I've configured the script.
We're on version 3.0.10 and there's no budget for getting the paid version so I guess I'll have to look at an alternative way to do this that doesn't involve script runner. (would have replied in a comment but I don't have enough points)
What is your scripted condition ? Hopefully this link will help you https://developer.atlassian.com/jiradev/latest-updates/developer-changes-for-older-jira-versions/preparing-for-jira-6-0/renamable-users-in-jira-6-0
@Thanos Batagiannis [Adaptavist], My script is literally "false" (see attachment). So it should always fail, and yet it doesn't. This makes me think it's a bug in JIRA, unless I'm completely misunderstanding how simple scripted conditions work.
Indeed Thanos, I am aware that return is optional, but I wanted to make sure that a boolean is returned as a single false might have been interpreted as a string, as I not aware of the exact behind the scene semantics of the code that kicks in when the validation is executed.
So yes the problem is that the 3.0.10 version is not compatible with the JIRA v7
Changes in the JIRA API, like the one you face, made it hard to make at least one free version compatible with JIRA v7.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG