Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

On Status transition assign ticket to Custom field, and if undefined assign to default user.

vshah June 24, 2020

Hi,

We want to achieve the below scenario, when the ticket transitions from ‘In Progress’ to ‘In testing’:

  • The ticket should get automatically assigned to ‘QA responsible’ field (Custom field -User type)
  • And if QA responsible field is undefined, then assign to the QA Lead (fixed user)

 

To achieve this I tried below combination

  • Post function on the workflow to auto assign to QA Lead and
  • Jira automation to reassign to ‘QA responsible’.

However when the ‘QA responsible’ field is not defined this doesn't work; because the ticket first gets assigned to QA lead and then gets unassigned because the QA responsible is not defined, so problem remains unsolved .

If this has to be done via code in Automation, then can you please give me the exact code.

 

 

1 answer

1 accepted

1 vote
Answer accepted
vshah June 24, 2020

Found the answer with Jira Automation

 

If QA Responsible field is not empty, then Assignee = QA responsible
If QA Responsible field is empty, then Assignee = fix user

image.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events