Script Runner Doubt with Roles

Hello,

i'm new with script runner, and i'd like to know if with this add on i can do : a group can create for example task but not requirement issues and other group or user can create requirements and not task issues.

 

Is this possible with this add-on? and if is possible and it is not very complex, could someone tell me the code?

thanks in advance

2 answers

1 accepted

0 votes

But not on Cloud, as you can't do validators there, and blocking it with validators is ugly because your users could enter data, get blocked and have to lose it all and type it all in again.

It would generally be better to put requirements and tasks in different projects.

0 votes
Tarun Sapra Community Champion Jan 04, 2017

Yes, you can do it, it's not very difficult to implement it. In the post-function of the "create" transition of the issue workflow you can add validations to check if the user belongs to the group which can create the task issues or vice-versa.

There are plenty examples of this on this site.

first of all thanks,

but in the multiples choices in validation does'n exist the one to select a group.

have I to script the function? then i have no idea sad

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,852 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot