Re: [JENKINS 57012] Need help to get current ItemGroup in configuration

2019-06-05 Thread Mathieu Delrocq
Hi Jeff, It is not exactly like Folder Properties Plugin does. Actually you can set a list of JiraSite in a folder configuration and I would like to set the folder in JiraSite (as a property). The goal is to know where the JiraSite was setted. Regards, Mathieu Le vendredi 24 mai 2019 17:01:5

Re: [JENKINS 57012] Need help to get current ItemGroup in configuration

2019-06-05 Thread Mathieu Delrocq
Hi, Thank you for your answer. I tried your suggest but folderprop.getOwner() always return null... Regards, Mathieu Le vendredi 24 mai 2019 19:04:03 UTC+2, Markus Winter a écrit : > > Hi, > > I think you will need to extend your JiraFolderProperty. > In the setSites methods you could call a

Re: [JENKINS 57012] Need help to get current ItemGroup in configuration

2019-05-24 Thread Markus Winter
Hi, I think you will need to extend your JiraFolderProperty. In the setSites methods you could call a method setOwner(folderprop.getOwner()) on JiraSite to inject the folder. Regards Markus On 24.05.2019 11:42, Mathieu Delrocq wrote: Hello, I want to add the possibility to configure a folder

Re: [JENKINS 57012] Need help to get current ItemGroup in configuration

2019-05-24 Thread Jeff
Hi Mathieu Are you looking from something like the Folder Properties Plugin? Best Jeff On Fri, May 24, 2019 at 5:10 AM Mathieu Delrocq wrote: > Hello, > > I want to add the possibility to configure a folder scope credential on

[JENKINS 57012] Need help to get current ItemGroup in configuration

2019-05-24 Thread Mathieu Delrocq
Hello, I want to add the possibility to configure a folder scope credential on jira-plugin. Actually we can configure a JiraSite on the global config and on a folder config. I want to add the current ItemGroup in JiraSite class to know if it was created on a folder or on Global Config but I d