I have a number of projects that share schemes and workflows, however the projects are not quite equal, some have greater control requirements.
Right now I have a complicated boolean algorithm on transition conditions, every time I create a project of the restrictive kind I have to update this logic.
I wonder if there is a way to set and query some property of the database, I could use this to control the transition, and it will be simpler to set a flag on restrictive projects.
It does not have to be a scriptrunner solution, but I do have it available.
Hello,
As far as I understand you want to "mark" projects with certain flags so, that you later can analyse the flag and perform required actions. If so, you can use project properties. You can get project properties with ProjectPropertiesManager
Thanks, the clue I needed, there is an add in to get and set properties, even has an entry in the transition condition list.
Always prefer the low admin way.
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.