Sub - Task created only by assignee

Mario Nikolov
Contributor
December 11, 2024

Hello,

We are trying to achieve a specific process regarding Sub-Tasks.

The process  requires that only a specific group of people to create main tasks (Task issue type) and Sub - Tasks to be created by the specific group and the assignee of the Task. The needed functionality is to limit the creation of tasks to a certain group of people and to limit creation to sub-tasks only to the same group and the person responsible for the task.

Answers and little bit of help will be much appreciated.

Thank you

Mario

4 answers

1 accepted

1 vote
Answer accepted
David Freitez
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.
December 11, 2024

Hi @Mario Nikolov 

Although there is no native way for doing this,   there are options via plugin and configuring the plugin feature as a workflow validator.

Apps that can do this:

Here is a screenshot of how the JMWE feature - User Validator  looks like:

Screenshot 2024-12-11 055701.png

As you want this validation to be on the create transition,  there is no way of using workflow conditions, since they cannot be added on the mentioned transition but all others (Why I can't add a condition to the Create Issue transition).

Hopefully this helps you answer your question.

Regards,
David

Mario Nikolov
Contributor
December 12, 2024

Hello David,

Thank you for your consideration I will try it out with the JMWE app.

BR
Mario

0 votes
Kristian Walker _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.
December 12, 2024

Hi Mark,

Thank you for your question.

I can confirm that this requirement could be solved using the Workflow Validators feature of ScriptRunner for Jira Cloud.

Using this feature, you can write a Jira Expression to achieve your requirement, and I can confirm that we have some example expressions here to help you get started.

I hope this information helps.

Regards,

Kristian

0 votes
Sergio García-Consuegra [Decadis AG]
Contributor
December 11, 2024

Hi @Mario Nikolov ,


My name is Sergio, I'm a member from the support team of Decadis. This requirement could be achieved with our app Jira Workflow Toolbox.

You can use our Jira expression validator in order to validate if the current user belongs to a group you specify, for example, "task-creator"

user.groups.includes("task-creator")


With this validation, the issue will only be created if the user belongs to that specific group.

If you have any doubt regarding this solution or if you want to add any other limitations for the validation, please feel free to ask! I will gladly assist you.


Best regards,
Sergio

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 11, 2024

Hello @Mario Nikolov 

What type of project are you using? Get that information from the View All Projects page under the Projects menu.

With native Jira functionality it is not possible to block users from starting the issue creation process based on the issue type, if the user otherwise has permission to create issues in the project. At best you might be able to add a rule or validator to the workflows for those issue types to prevent the new issue from being saved.

If a third party app could help you block the user from starting the issue creation process for those specific issue types, would you be willing to consider that?

Suggest an answer

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

Atlassian Community Events