The default configuration for JIRA is such that whenever the workflow screen is presented, the Assignee field defaults to the current Assignee. We would like to modify that behaviour, such that the default Assignee is Automatic, _not_ the current Assignee.
I've looked through the configuration and can't find a way to do this, is such a configuration possible?
There are various post-functions on transitions that can be used to set the assignee field. It does not need to be the current user. Please look at this documentation and in particular the optional post functions..
@Norman, you aren't answering Themis' exact question. He wants to modify the DEFAULT assignee value. I'm sure he knows he can use post functions to assign a ticket, but sometimes you want the user to have the choice to override the post function (some post functions have the option to conditionally allow overides, such as"unless user selects an Assignee in the transition screen").
How can you customize the DEFAULT value of assignee away from the current assignee and into "Automatic"?
Hi, after few hours of reading atlassian forum and performing my own tests with scripts i found a solution to change the default assignee value on transition screen to "Automatic"
* go to JIRA Administration ~ Add-ons
* select Behaviours
* create a new Behavior
* create a new Mapping
* check the "Use validator plugin" box
* select Workflow to use ( required for next step )
* add Condition : Workflow action and select action from dropdown
* put following code into custom script :
def Assignee = getFieldById("assignee");
Then it will work :)
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event