Project workflow / Post-Functions

Hlib Zhurakovskyi March 17, 2021

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
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 17, 2021

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

Hlib Zhurakovskyi March 17, 2021

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

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 17, 2021

Did u fix your issue?

Hlib Zhurakovskyi March 17, 2021

Unfortunately, no

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 17, 2021

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

Hlib Zhurakovskyi March 17, 2021

Oh, nice, it works.

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

Thanks for your help BTW!!

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 17, 2021

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
Dhruvin Patel June 15, 2022

what is the name of that post function?

0 votes
Malik Waqas March 17, 2021

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!!

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 18, 2021

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
AUG Leaders

Atlassian Community Events