I want to be able to assign an issue to our lead tester automatically on a 'resolved' transition.
Options for post-functions to add to a transition include:
* Assign to Current User
* Assign to Lead Developer
* Assign to Reporter
There isn't an "Assign to (selected user)" or "Assign to (custom role)".
The page below suggests that you can create your own post-functions, but the links explaining how to do so are broken:
How can I set up a simple post-function to assign to the lead tester?
Obviously I could pretend the lead tester was the lead developer, and assign it like that, but I'd like to be able to specify the role properly, or select a user without a role.
Thanks,
Richard
go to Add new post Function->Update Issue Field->Assignee and select your lead tester.
Ah, OK. That should have been obvious... thanks. Since there were specific ones for the other users I thought it would be something more complicated!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doing it this way assigns the issue to the lead tester regardless of whether the resolver selects a different user. Is there a way to assign the issue first to the selection of the person resolving the issue (if any) but default to the lead tester if no new user is selected? Or would a new script be needed for that?
I realise there probably isn't, since the "assign user" drop-down on the resolve screen doesn't have "no selection" - by default the current user remains selected, and I don't see a way to tell whether that's a deliberate choice or not.
I guess we would need something like, "If selected new assignee = current assignee then new assignee = lead tester, else new assignee = selected new assignee" which would involve scripting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
haven't tried anything like that tbh. I would guess you'd need to script it that way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, I tried to follow the steps: Add new post Function->Update Issue Field->Assignee and select specific user. However, when I start typing in the user's ID, it is not recognized by the system. I tried with the ID, first name and last name. The user in question is an Admin in JIRA, and this is Cloud JIRA. Would appreciate ideas and guidance on how I could troubleshoot this. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sharad, and any others that stumble here, you need to go to System > Global Permissions > Browse users and enable this permission. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yet another recurrent problem of scripting the WF. You have multiple ways to achieve that:
1) using ScriptRunner - https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner - free, praise Jamie for that
2) using JJupin - https://marketplace.atlassian.com/plugins/com.keplerrominfo.jira.plugins.jjupin - created by me, but paid
3) Other plugin, check https://marketplace.atlassian.com/search?q=scripting
4) write your own postfunction, start here: https://developer.atlassian.com/display/JIRADEV/JIRA+Plugin+Tutorials
Have fun
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.