Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to block a user from pulling 2 tasks into progress at the same time?

Georgia Alves December 6, 2024

I have the jmwe extension and I was unable to create something to block a user from pulling 2 tasks into progress at the same time and not even through the workflow

1 answer

0 votes
Trudy Claspill
Community Champion
December 6, 2024

Hello @Georgia Alves 

Welcome to the Atlassian community.

When asking for help with a problem where you say "I've tried, and it doesn't work", it will enable us to help you more effectively if you provide the details of exactly what you tried and what the results were.

Let me see if I understand your scenario:

1. User A is trying to transition a task to "In Progress".

2. If User A is the Assignee on a task that is already in the "In Progress" status, then the transition from step 1 should be prevented.

What if...?
- User B tries to transition a task to "In Progress" and that task is assigned to User A, but User A already has a task "In Progress"

 

Is the scope of other tasks to consider limited to what is in the current board, or in the project of the transitioning task, or in all projects in Jira?

Georgia Alves December 6, 2024

Hello

It would have to be something that checks across all projects whether user A has something in his name, even though he is not the one who transitions the task and if he is the assignee, it returns a warning message or does not allow the item to move to the status in progress. Regarding my attempts, I created a script in the jmwe plugin that checked via the API if there was more than one call in progress with the person, but it still didn't work.

Trudy Claspill
Community Champion
December 6, 2024

Can you share with us the actual details of what you implemented?

The API call

The payload

The results of the call

Is "In Progress" the only status value that matters? Are there other statuses that have a different name but still mean work is in progress?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events