Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi everyone.
I am finalizing workflow setup for this project and this workflow involves some assignments to specific users at specific statuses. Post functions on transitions work quite nice for this, the only exception is the very first "Create" transition. Now, other post functions are executing without an issue, but assignment one is simply being ignored. I had used assignment post function on other transactions, including to the same user as I am trying to set for this initial one and it works.
I would like to do this without a third-party plugin if possible. Any advice?
Hey @Paul Zubkov - this is what I found and it worked for me - https://confluence.atlassian.com/jirakb/can-t-get-assign-to-current-user-post-function-to-work-on-the-create-issue-transition-455542268.html
See if it does for you.
Hi Paul,
You could set that up quite easily with Automation For Jira - and it's now free to use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure, I could do it via a plugin, and if there is no other option I will. But in principle, post function to assign a user to the issue works as long as it is not the first transition, right? Because to me, it seems that this is the case as I can do the same post function on transitions inside the workflow without any issues, but the first one fails. Seems to me, its a bug, no?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds like a bug to me, yes. Do you have it as the very last transaction in the list of post functions?
And, not sure that I would really refer to Automation For Jira as a plug in now since it has been incorporated into the product. But maybe you still have to do the install. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried playing around with various positions of this particular post function within the list, it does not really affect anything. Automation For Jira you mentioned before - do you have a link for it by chance?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure - take a look here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I understand correctly, the post-function on your create issue transition isn't working.
Reorder the post function i.e get the assignment post-function to execute at the end.
I had the same issue and reordering fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your suggestion, tried moving it around and it does not really change anything. I have several post functions on that transition. One is the creation of a specific label and the other assignment to a specific user. Basically label for PO that the issue is new and needs prioritization and assign it to him so he gets email and so on. The label part is working fine, with no complaint, but the assignment does not. No matter where I place the post function relative to others. What I find interesting is this - later on in the workflow, I am doing the same post function on assignment during another transition and it works. The only difference is the first transition vs transition in the middle of a workflow.
Weird, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have access to the audit logs, it might be handy observe the logs while repeating your issue creation; https://confluence.atlassian.com/adminjiracloud/auditing-in-jira-applications-818578846.html (found in different thread https://community.atlassian.com/t5/Jira-questions/how-to-check-the-JIRA-logs-in-JIRA-Cloud/qaq-p/827303)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check if the users performing the transitions have permission to 'assign' issues to others. Lack of this permission may result in the assignment failing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your suggestions, the user has permission to assign to others. It fails even for admins.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.