Restrict log work option based on status and condition

Neha Sharma February 5, 2020

Hi all,

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,

Neha

2 answers

1 vote
Yogesh Mude
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2020

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.

https://confluence.atlassian.com/adminjiracloud/configuring-workflow-schemes-776636598.html

To restrict the work log on a particular status, you can use the workflow properties..also you can have a look at this previous community discussion for the same.

0 votes
Pavel Adamovich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2020

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:

example.png

Also this add-on will help you to check request status and prevent it from transition.

Suggest an answer

Log in or Sign up to answer