I have scripted field called "Risk Level(Calculated)
I have written down the script which populates the value of Risk Level(Calculated) depending on the formula.
When I write down the JQL such as:
Please find attached screenshot.
Please let me know the solution for this.
I need =,<,> operator for it.
Scriptrunner scripted fields have an "output template" which effectively tells Jira what type of field the result should be seen as.
For your field, I suspect, as John does, that you chose "text", and your code is returning something that Java can interpret as a string.
I think you need a numeric output, as you want to use larger than or less than.
To change over, you will need to:
You will then be able to use >=< operators (but not ~ any more)
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