We have a requirement where we need to restrict the option for logging work whenever a card is created and is in an Open/To-do status i.e. the initial state. The thing is that this workflow is shared by multiple projects and we want to restrict this option only to certain projects (based on the value of a project field).
Is it doable ? If so, how can we achieve this.?
Thanks in advance,
HI @Neha Sharma
Yes, you can.
First of all, as you mentioned the current workflow is shared with multiple projects, to apply only for the specific projects you need to copy this workflow and workflow scheme.
Add the copied workflow to copied workflow scheme and associate this copied workflow scheme to those specific projects. for more details please have a look at this Atlassian article.
Hi @Neha Sharma ,
You can achieve this with Jira Misc Workflow Extensions (JMWE)add-on as well.
You will need to add scripted validator to your shared workflow, which will check if transition is performed from an allowed project.
Something like this:
Also this add-on will help you to check request status and prevent it from transition.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events