Which table (in database) saves the transitions which assign an issue to a particular user?

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.

2 answers

This widget could not be displayed.

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

This widget could not be displayed.

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

  1.  A script as a parameter
  2. A reference to a canned script, with the user set as another parameter
  3. A pointer to a script stored on the file system

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!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

128 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you