Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,290
Community Members
 
Community Events
165
Community Groups

Project workflow / Post-Functions

Edited

Greetings!
I want to automize my Workflow. These is one feature wich can help me with is but I can`t find approach with it:)
Its about collaboration of transition to status and post function at custom fields (CF).

I`ve created status "Reviewed" (transition from status "Code Review") and CF "Reviewers" (User Picker (multiple users)).

The main goal is autofilling this field with the name of user when he doing the transition.

Moreover, there is a special macros:

'%%CURRENT_USER%%'

But it doesn`t work.

Has someone the same issue or a way to fix this issue?

Screenshots:

https://prnt.sc/10obb6b

https://prnt.sc/10obcfn

3 answers

1 accepted

1 vote
Answer accepted

Hi @Hlib Zhurakovskyi ,

welcome to the community. Try to setup %%CURRENT_USER%% and not '%%CURRENT_USER%%' (with single quotes) on the custom field value. This should fix your issue.

Fabio

Hi!
I`ve tried %%CURRENT_USER%%, '%%CURRENT_USER%%' and %%%%CURRENT_USER%%%%. Found this variations on the web.

Did u fix your issue?

Unfortunately, no

Hi @Hlib Zhurakovskyi ,

I just tested my solution in my dev environment and it works!

Please verify that you checked "Append value"

 

update_field_value.png

Oh, nice, it works.

Now what macro should i use to add current user instead replace?

Thanks for your help BTW!!

The user that will perform the action will be added to that field.

Please, accept my answer so that this question is marked as solved.

Ciao,

Fabio

0 votes

what is the name of that post function?

Goodness, pleasant, it works.

Presently what full scale would it be advisable for me to use to add current client rather supplant?

A debt of gratitude is in order for your assistance BTW!!

Hi @Malik Waqas ,

happy that it helped! If you check append, user will be added to the list without removing previous users.

Fabio

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
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