Aller au contenu principal

I want to know the script from which i can get all project list from first spirit server

Commentaires

1 commentaire

  • Zendesk API User
    Author: pavone - 4/3/2014 8:29

    Hello,

    this BeanShell-Script could help you:

    import de.espirit.firstspirit.access.Connection;

    import de.espirit.firstspirit.access.project.Project;

    Connection connection = context.getConnection();

    Project[] projects = connection.getProjects();

    Please note that connection.getProjects() only returns those projects that the current user has access to!

    Best regards,

    Tim

    0

Vous devez vous connecter pour laisser un commentaire.