Hi, How do I change assignee depending on the value of a custom field as a post function of workflow transition?
We have a custome field called 'Requesting Client'. If this has a value 'Internal Test Team', the assignee should be changed. This needs to happen as a post function during a particular transition in our workflow.
Thanks
One of options is following:
Create as many transitions as you have custom field different value options. In each put condition for specific value and post function : "Update Issue Field" for specific assignee value.
I'm not sure this is an option as the users will have to choose from executing two transitions that are logically the same and in some cases the transition will not be allowed and they'll have to choose the other wchich seems confusing to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure this is an option as the users will have to choose from executing two transitions that are logically the same and in some cases the transition will not be allowed and they'll have to choose the other wchich seems confusing to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For example:
==================
Transition 1
Name: ABC
Condition: Value Field (Requesting Client = Internal Test Team
Post function: Update Issue Field (Assignee = some_user)
==================
Transition 2
Name: ABC
Condition: Value Field (Requesting Client != Internal Test Team)
Post function: -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Users will only see one transition(Because of condition(not validator)). So they will choose correct one every time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you're right, i missed that :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only problem is that you cannot have two transitions with the same name.
It's work but It's not completely transparent for the user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use a post function from Jira Misc Workflow Exensions("Set Field Value to constant or Groovy expression") to set the asignee field value. It allows putting a groovy condition, so the field will be set only if the condition is true.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solution looks better but I don't have the experience to make it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The only problem is that you cannot have two transitions with the same name.
It's work but It's not completely transparent for the user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can we use this for "create issue" transition? I do not see Conditions for create issue transition. We have JIRA on demand instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Creating 2 transition with different conditions works great. Thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Boris and Andris. I will try these options and post my feedback.
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.