Hi
We have multiple project roles and only using 1 workflow that is shared among multiple projects how to achieve role A can be closed in project A and role B can be closed in project B any reference script runner code for this . Please refer
Welcome to the Atlassian Community!
You will need to add conditions to the workflow - ones that say "only people in Role X can use this transition". Scriptrunner can do this, without needing scripts, you only need the basic "if/then" conditions, but Jira also has some basic functions built in, so you may not need SR at all.
It looks like you're new here. Sign in or register to get started.