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.
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).
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:
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.
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