Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Here is the situation:
A, B and C are developers and they get tasks assigned to them
X is our QA. I added a post-function in workflow transition, so that whenever A,B, or C move their issues to "In Testing" status, it's automatically assigned to X.
That created an issue for task credits. Since X is autoassigned to all tasks that move to "In Testing" column, X is the assignee when those issues are finally resolved (Done) and moved to the "Done" column because I dont know how to reverse it back to the original assignee.
I would like to have a workflow where X get the notification when an issue is "In testing" column, but want to retail the assignee credit to A.B, or C. I dont see a post function to assign it back to the original assignee.
How to do that? I saw some posts about custom fields. But I dont know how to incorporate it.
Currently the workflow is:
Status: ToDo->->InProgress->-(autoassign to X)->InTesting->->Done
Assignee(s) A,B,C A,B,C X X
What I would like to achieve is:
Status: ToDo->->InProgress->-(autoassign ??)->InTesting->->Done
Assignee(s) A,B,C A,B,C X/A,B,C A,B,C
PS: I am not an IT technical person to understand codes or detailed technical stuff. A person in chemistry research field using Jira
Hi Roy,
It sounds like you don't want both people assigned at same time so very doable.
You can do this using the Power Scripts add-on.
There is a video tutorial walking you through in detail here.
Code is simple:
Post Function 1:
string [] testers = usersInRole("TEST", "Product Development Tester");
assignee = testers[0];
Post Function 2:
string [] h = fieldHistory(key, "assignee");
string a;
if(isNotNull(h[1])) {
a = h[1];
}
else {
a = h[3];
}
assignee = a;
Hope this helps you!
The title on your question indicates you want to have 2 assignees. If that is the case, it can't be done. If you want to change it go with what @Michael Brown [Ascend] said
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apologize for the confusion. No, I do not want to have 2 assignees at the same time. I just want the program to notify QA that now there are issues in the TESTING column without changing the original assignee.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A year and a half has gone by, and I'm sure you've resolved this... but one solution that comes to mind is to either have a user picker custom field (or perhaps a fixed user if X is always the same person) and use SIL to send an email in a postfunction to notify QA. (Assuming power scripts plugin is installed.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good question Roy. It sounds like you want some advanced functionality in your workflow to occur. I recommend checking out JIRA Misc. Workflow Extensions, the app will allow you to do a lot of this:
Take a look and let me know your thoughts. I'm not trying to sell you on an add-on / app, I just think this is what you'll need because you want to execute these specific customized / advanced Post Functions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.