A user will become an inactive user shortly. Is there a way to generate a list of transitions in any active workflows which assign the issue to this user after any particular transitions (via a postfunction or otherwise).
Generally we use Script runner to assign issues as a postfunction. I believe that these rules should be saved somewhere in the database. I need direction to the particular tables which save these postfunctions.
Workflows are generally stored in the jiraworkflows table / the DESCRIPTOR field. You might want to have a look at this table.
SR additionally stores info in the propertytext table IIRC.
Cheers
It's a difficult one, because they could be in a number of places.
You'll need to look at jiraworkflows to get the main reference as that holds the xml of the workflow, but you might find three different approaches to it as well. The xml for a postfunction might contain
But, start with jiraworkflows.
If you're on a more recent version of Script Runner though, there's a script library in the admin section which might be an easier way to find them!
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.