You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
i am trying to pull shared teams& people details via scriptrunner.
when importing packages in here - https://docs.atlassian.com/portfolio-for-jira-server/javadoc/2.13.0/ it will give error as below
The script could not be compiled: <pre>org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script264.groovy: 6: unable to resolve class com.atlassian.rm.common.core.partial @ line 6, column 1. import com.atlassian.rm.common.core.partial ^ Script264.groovy: 7: unable to resolve class com.atlassian.rm.common.publicapi.exception @ line 7, column 1. import com.atlassian.rm.common.publicapi.exception ^ Script264.groovy: 8: unable to resolve class com.atlassian.rm.common.publicapi.interfaces.base.api @ line 8, column 1. import com.atlassian.rm.common.publicapi.interfaces.base.api ^ Script264.groovy: 9: unable to resolve class com.atlassian.rm.common.publicapi.interfaces.rest.entities @ line 9, column 1. import com.atlassian.rm.common.publicapi.interfaces.rest.entities ^ Script264.groovy: 10: unable to resolve class com.atlassian.rm.portfolio.publicapi.interfaces.hierarchy @ line 10, column 1. import com.atlassian.rm.portfolio.publicapi.interfaces.hierarchy ^ Script264.groovy: 11: unable to resolve class com.atlassian.rm.portfolio.publicapi.interfaces.nonworkingday @ line 11, column 1. import com.atlassian.rm.portfolio.publicapi.interfaces.nonworkingday ^ Script264.groovy: 12: unable to resolve class com.atlassian.rm.portfolio.publicapi.interfaces.plan @ line 12, column 1. import com.atlassian.rm.portfolio.publicapi.interfaces.plan ^ Script264.groovy: 13: unable to resolve class com.atlassian.rm.portfolio.publicapi.interfaces.planaware @ line 13, column 1. import com.atlassian.rm.portfolio.publicapi.interfaces.planaware ^ Script264.groovy: 14: unable to resolve class com.atlassian.rm.portfolio.publicapi.interfaces.program @ line 14, column 1. import com.atlassian.rm.portfolio.publicapi.interfaces.program ^ Script264.groovy: 15: unable to resolve class com.atlassian.rm.portfolio.publicapi.interfaces.stage @ line 15, column 1. import com.atlassian.rm.portfolio.publicapi.interfaces.stage ^ Script264.groovy: 16: unable to resolve class com.atlassian.rm.teams.publicapi.interfaces.ability @ line 16, column 1. import com.atlassian.rm.teams.publicapi.interfaces.ability ^ Script264.groovy: 17: unable to resolve class com.atlassian.rm.teams.publicapi.interfaces.person @ line 17, column 1. import com.atlassian.rm.teams.publicapi.interfaces.person ^ Script264.groovy: 18: unable to resolve class com.atlassian.rm.teams.publicapi.interfaces.resource @ line 18, column 1. import com.atlassian.rm.teams.publicapi.interfaces.resource ^ Script264.groovy: 19: unable to resolve class com.atlassian.rm.teams.publicapi.interfaces.skill @ line 19, column 1. import com.atlassian.rm.teams.publicapi.interfaces.skill ^ Script264.groovy: 20: unable to resolve class com.atlassian.rm.teams.publicapi.interfaces.team @ line 20, column 1. import com.atlassian.rm.teams.publicapi.interfaces.team ^ 15 errors </pre>.
What is the correct pacjage to pul data related to sharedteam & people frommscriptrunner & its syntax for the same
welcome to Atlassian Community!
It is safe to say that Advanced Roadmaps and ScriptRunner are compatible?
I am asking because I found a Suggestion open with Atlassian that it is not:
From my point of view you should double check with Atlassian and/or Adaptavist what the current status of JPOSERVER-1465 is.
Looking around at least here is another thread discussing using Advanced Roadmaps together with ScriptRunner, probably this helps to import the right classes:
On server, it is a lot more compatible than Cloud - Scriptrunner can get deep into the Java API, and can reach into the Advanced Roadmaps code.
But Cloud has to do it over much more limited APIs, ones which we'd like to be extended in Server as well,
Thank you Daniel & Nic.
I was able to get shared team & people data using below package