You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I have limited experience with programming, usually just enough to cannibalize scripts that are similar to what I'm working on to get what I need done. I've been trying to create a scripted field to display the value of custom fields from subtasks in the parent task. Using this page, I grabbed the import statements at the top and the line
def customField = ComponentAccessor.customFieldManager.getCustomFieldObjects(firstSubtask).findByName(customFieldName)
I've been doing my best to learn as I go, and for the most part hitting Ctrl + J to bring up the javadoc has been really helpful. However, I can't seem to find anything anywhere, be it google, here, or the adaptavist library, about "findByName()". I'm not quite sure how it works, and would really appreciate if someone could give me more information about where it comes from.
It should be an additional feature by ScriptRunner. Maybe something like this?
https://en.wikipedia.org/wiki/Grails_(framework)#Methods
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.