I am trying to create a calculated field that gives us the number of labels (from a custom label-type field) attached to the very same issue, but I am starting to doubt the possibility of it.
Any ideas of how I could go about it?
I am using a calculated field to get the number of Labels, but if the value of custom field is null, it throws me an error "Target exception: java.lang.NullPointerException: Attempt to invoke method size on null value"
How do i overcome this error?
<!-- @@Formula: ((issue.get("customfield_xxxx").size()).toString()) -->
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot