I want to populate a Scripted Field with the count of a Free Text Field.
What should the last line of this script be?
import com.atlassian.jira.ComponentManager; import com.atlassian.jira.issue.customfields.manager.OptionsManager; def componentManager = ComponentManager.instance; def customFieldManager = componentManager.getCustomFieldManager(); def RelatedCasesField = customFieldManager.getCustomFieldObjectByName("Related Cases"); // return (RelatedCasesField.count());
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
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