Script Runner Doubt with Roles


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

This widget could not be displayed.

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.

This widget could not be displayed.
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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

195 views 1 3
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