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

during transition update a custom user field with selected user from a role

Hi All, is it possible to update a custom user field with a selected user from the given role during a status transition using post function?

eg. I have a custom user field called QA Assignee. During transition to QA status, I want the ticket to be assigned to QA lead (i managed this using post function to assign the issue to a user in 'QA Lead' role), in the same transition I want the custom field 'QA Assignee' to be updated by one of the users in 'Tester' role. There are 5 testers, so they need to be selected in sequence. If possible I would like to find out the number of issues they are in as 'QA Assignee', and add the least number user to current ticket's 'QA Assignee' custom field.

Please help.

thanks,

Kalim

2 answers

Hi @kalim7 

Do you want to achieve this by an app from Marketplace or by your own plugin?

I mean there are several methods to implement such a post function.

Hi @Tuncay Senturk -Snapbytes- , thanks for your response.

Due to small team size and I can not afford app from the marketplace. I own just one team project in Jira.

I need to achieve this with some plugin. I am comfortable with PHP (if PHP script with post function can be utilized here).

thanks,

Kalim

Hi @kalim7 ,

if the usage of an additional app is applicable for you, I'd like to suggest having a look at Jira Workflow Toolbox.

Besides tons of other out-of-the-box functions, it provides the following:

leastBusyUserInRole("projectRoleName")

This function returns

... the name of the active user playing project role with name projectRoleName in current issue's project, and has the lowest number of issues with resolution empty assigned

and can be used in the Update issue fields post function.

FYI - I belong to the vendor of the aforementioned app.

Cheers
Thorsten

Hi @Thorsten Letschert -Decadis AG- surely your suggestion is 100% match to my requirement. But my project team is small. I am not sure if I will get approval to fund this. I will try.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

376 views 1 3
Join discussion

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