Command to Set all to unassigned
I'm trying to create a command that will change the Assignee to be unassigned then assign them to one user.
I can't find any documentation for this.
I've tried:
remove assignee add assignee <user>
add assignee unassigned add assignee <user>
I have no idea what I'm supposed to do.
Any suggestions?
I can't find any documentation for this.
I've tried:
remove assignee add assignee <user>
add assignee unassigned add assignee <user>
I have no idea what I'm supposed to do.
Any suggestions?
Please sign in to leave a comment.
If I'm not mistaken with my assumption, you would like to change Assignees for several issues.
For that, please select needed issues on issues list (or just select all of them with Cmd + A/Ctrl + A), and start typing command
Command window will be launched -> click on Apply button.
After that, you will be able to set Assignee to any user in same manner.
BTW, you don'n need to set Assignee to Unassigned first, and then Assign issue to another user.
You can execute this in one command while issue is already assigned to some user
Thank you.
Assignee Unassigned
Yields: Can't submit incorrect command.
Assignee <username>
Only adds the user to the list of already assigned users. I need to remove all assigned users and add a single user.
Now it's clear that you have multiple Assignee.
Could you please check what is your 'Empty Value' for Assignee field? Navigate to Administration-> Projects-> your project-> Fields tab-> Assignee, Empty Value column.
I assume it's not 'Unassigned'. Please, use the following command with the value of your Assignee field 'Empty Value':
If you have not got admin permissions, then you can know this 'Empty Value' from the Command Window. Start typing 'Assignee'-> click Tab-> look at the drop-down list of 'Assignee' field values. Value whith description 'undefined Assignee in <project name>' is your 'Empty Value'.
Thank you.
This continues to fail:
Assignee Unassigned
I've looked at the available options and I do not see "Unassigned" in the list of users.
Please, check that you have 'Update issue' permission.
Is 'Assignee' command recognized in Command Window when you select issues reported by other users? Or is it underlined in red?
add Assignee rico
Works great.
remove Assignee rico
Works great.
Assignee Unassigned
Fails.
Please try this variant for one issue first.
Speaking of setting 'Unassigned' value, clarify please, are you able to set Unassigned value manually in Assignee field?
Please, attach a screenshot of Command Window with drop down listing of values, when you type 'Assignee' command.
Also, are other users allowed to set Unassigned value with command?
Are there any custom Workflows attached to your project?
Thank you.
Nobody here (even our admin) is able to use the following command with success.
Assignee Unassigned
The list of users available for the Assignee command seems to vary. The attached picture shows a small segment of potential assignees. What is the mechanism behind populating that drop-down?
Yes, you are right, that's not a solution, but I've described you a way that works while intelligent solution is not fixed.
Drop-down list of assignees depends on list of users who were added as assignees for the project.
Please, clarify several points, from my previous reply:
Are there any custom workflows attached to projects?
Are you able to change value to Unassigned by simple clicking on Assignee field?
Thank you.
We have 5 active workflows across many projects.
jetbrains-youtrack-assigneeVisibilityGroup 32 projects
jetbrains-youtrack-duplicates 30 projects
jetbrains-youtrack-subsystemAssignee 14 projects
jetbrains-youtrack-subtasks 32 projects
jetbrains-youtrack-updateFixBuild 25 projects
Please, try to apply
for the issues only from one project. To make it easier, choose a particular project as a context, select several issues (or all) and apply the command. Then execute this for issues from another project. I assume that you select issues from several projects at a time and try to execute a command.
Thank you for your patience.
I can simply modify my query to do this one project at a time. :)
Remove <username>
Please, specify which solution doesn't work? Actually, this way:
was also described above.
Thank you.