Our environment field is populated with (Production, SIT, UAT) I am looking for a way to sort these issue and get them sent to the correct users once the issue has been submitted for approval. Production - > user1, SIT -> user2 and UAT -> user3.
Is there a way I can do this using post functions?
That helps to clear it up. You want to assign to users based on the selection in the input in the environment. At this point I don't think that assigning from the environment field is really possible only becuase it's a free text field. I have not seen or come across an add-on that will parse the text in the field and then perform an action.
I have seen an add-on that will update your ticket based on another specific field type though.
That should provie you with some solutions for assigning based on another field.
It sounds like you're pretty much there. You can assign tickets using the "Update Issue Field" post function. You'll need to create a different workflow transistion for each user, but it sounds like it is achieveable.
If you're not super familiar with workflow configuration, I suggest taking a look at the following document.
This only allows me to specify a value but I cannot specify where I want it to go.
I am raising an issue on the create screen and when I get to the "Environments" Field I have a drop down field that allows me to choose from "Production, SIT, UAT and AVATAR" Idealy I would like the workflow to identify with this and so when I submit the issue and its environment is Avatar it will go to user3 and if it is production it will be assigned to user1
Currently that option allows me to choose a field "Environment/s" and then I free txt " UAT", I am unable to say I want it to go to user "X"
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG