Automated Workflows with automatic Assignments

Gaurav Nawathey January 7, 2013

Hi Team...

We need to Automate the workflows in JIRA. For e.g - I should be able to define various Assignees for a Particular Status in JIRA and which should automatically change with Change in Status. Also, we need to automate the Validations based on certain set of Custom Fields.

For e.g - If a user Select a certain value in one custom field, the dependant custom field should only given limited options based on the earlier value.

Please let me know if there are any plugins or method in which i can configure both the above functions in workflows. This is very critical for our operations department.

1 answer

2 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2013

Workflows in Jira have

  • Conditions - prevent users from performing transitions unless they meet certain criteria (e.g. "must be a developer")
  • Validators - to check the data and prevent the users committing bad/invalid data during a transition
  • Post-functions - to do things automatically during a transition
  • there's also listeners which you can execute after an event (transitions can trigger events), which can update issues too - there's specfic use-cases where you need to use listeners instead of post-functions. Post-functions are easier to configure, write and understand, but aren't quite as flexible as listeners.

That covers most of what you need, but with two caveats:

  • You may not find the conditions, validators, post-functions or listeners you need are built in.
  • "select value in field X and get limited list in field Y" is not a function of workflow. You can use the "cascading select" field to do some of it, but that is a single field. All other field types in Jira are independent of each other, and to meet your needs, you'll need to write new fields (as plugins) or inject some javascript to handle it.

For both of those though, have a look in the marketplace - this has loads of plugins for the above, especially post-functions doing clever things. Specifically, you might want to look for the "behaviours plugin" to handle the javascript stuff, and the "script runner" which gives you a framework to write workflow stuff without having to code specific plugins for each function.

Suggest an answer

Log in or Sign up to answer