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()) -->
Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs