Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please, give code example! #306

Open
qawsed55 opened this issue Mar 12, 2023 · 0 comments
Open

Please, give code example! #306

qawsed55 opened this issue Mar 12, 2023 · 0 comments

Comments

@qawsed55
Copy link

qawsed55 commented Mar 12, 2023

Hello!
Sorry for pore English (
I have some projects, trackers, roles and users.
I need to change assignee, when status changing: for tracker_in_project (other projects with this trackers will have another setup).
As I think (may be wrong), easiest way to setup array with all I need and code will parse this and make all magic.
Here pic with, where I try to explain:

image

Code will be something like (sorry, I do no know Ruby at all) :

If status in project_name with tracker_name changes from status_was to status_is
change assignee to user_name (or group_name)

array_to_change {
PROJECT A, TRACKER1, STATUS1, STATUS2, Mike;
PROJECT A, TRACKER1, STATUS2, STATUS3, Anna;
PROJECT A, TRACKER1, STATUS2, STATUS4, Anna;
PROJECT A, TRACKER1, STATUS3, STATUS1, George;
}

Looks like this function has Additionals plugin, but without settings and just for one status\role

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants