It appears that my Post Function rule in the workflow is not working because the status transition was not manually done from Jira. Automatic transition is configured as well in the workflow via Triggers.
I have a Post Function on a transition to assign to a custom field after user transitions issue from Jira. This is working if done manually in Jira.
On the same workflow transition, I added a Trigger to transition the issue when an action is made from Bitbucket.
The problem is that the Developer custom field is not being filled in when the transition is done via Bitbucket or Bamboo (for deployments).
Per issue history, the action was done by automation.
I want to be able to fill in the Developer field with the user value who did the action from Bitbucket or Bamboo. Is this possible?
Note that the Jira/Bitbucket/Bamboo integration is setup and working.
Probably, currentUser is not mapping correctly when this transition is fired by a trigger.
Please, see https://confluence.atlassian.com/adminjiraserver079/configuring-workflow-triggers-950288801.html#Configuringworkflowtriggers-usermapping to learn how a development tool user is mapped to a JIRA user.
Hope this help.
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events