Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automatic transition Trigger bypasses the Post Function to assign to a user

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.

jiraworkflowpostfunction.jpgOn the same workflow transition, I added a Trigger to transition the issue when an action is made from Bitbucket.

jiraworkflowtrigger.jpgThe 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.

jirahistory.jpgI 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.

Thank you.

1 answer

1 accepted

0 votes
Answer accepted

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.

A bit late, but thanks!

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you