Hi All,
I created a workflow for bug, one transition is from "In Progress" to "Verification", I added a post function of "Assign to Report" and added "Assignee" field in transition screen for this transition.
For example:
this bug reporter is "A".
1. I transferred this bug from "In Progress" to "Verification".
-- Automatically assigned to "A", this is right.
2. I assigned the bug to "User1" when transferring the status from "In Progress" to "Verification" in Transition screen.
--Automatically assigned to "A" not "User1", it's wrong. In history, it showed the assigned change from "User1" to "A".
For 2, how to make it work?
Thanks in advance!
Hello Maggie,
Post-functions are always executed at the end of the transition phase, thus even if you assign the issue to "User1", still it will be always assigned to "A" becuase in your post-function you have configured it that way. Because the post-function is excuted after transition screen thus "A" overrides values of "User1" as assignee.
You need a more clever post-function - some code to pick up when you want to run it and when not, and wrap that logic around the "assign" statement in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't have one. You'll need to find or write one to do it, or use one of the scripting add-ons to write code to do it in-line
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have come across the same scenario at JIRA v7.1.8 (on server). One teammate wants to save the selected 'Assignee' (X) (at 'Create' Issue screen) instead of post function changing it to another user (Y). Could someone please assist me with this?
Not sure whether it's still an issue any more for @Maggie Gu or someone else?
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.