Forums

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

Can you automatically assign an issue back to the developer once QA is done with it?

andrei.nastasoiu@zitec.com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2020

Hello, we have the following situation:

A ticket is taken into "In Progress" by the Developer and once it's finished, the status is changed to "For Testing", while the Assignee remains the Developer.

A QA member comes on it, changes the status to "In Testing" and the Assignee to himself, the QA member. Once done, he changed the status to "To Integrate" and the Assignee back to the Developer.

And here lies our problem, sometimes the QA forgets to assign the developer back to the ticket, or forgets to assign himself when testing it, and we wondered if it's possible to automate the following scenario:

-If status is changed to "in testing", assign to {current user} (which would be the QA member)

-If status is changed to "to integrate", assign to {user that changed status from "in progress" to "for testing"}

 

2 answers

2 accepted

4 votes
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
August 17, 2020

You can use postfunction Copy Value From Other Field and Assign to Current User for this purpose. I would create field Developer (it can be read only field on screen or hidden at all), it will only save Developer user. And configuration of workflow can be

  • transition to In Testing status, and use postfunctions
    • Copy value from Assignee to Developer field
    • Assigne to Current User
  • transition to To Integrate status
    • Copy value from Developer to Assignee field

Let me know, if anything is not clear enough.

andrei.nastasoiu@zitec.com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2020

Thanks a lot for the help, it worked!

a841099 October 16, 2020

Hi @Martin Bayer _MoroSystems_ s_r_o__ 

I have almost the exact same issue, but using Jira Automation, I do not see an option to copy value from Assignee to Developer field (trigger action: moving status from in development to testing). 

Could you help provide some step by step elaborations on how I might be able to do this?

Would appreciate it very much, thank you!

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
October 16, 2020

Hi @a841099

welcome on the community :). I have one question - are you on Cloud or Server?

a841099 October 16, 2020

My url is .net, so I believe I'm on cloud

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
October 16, 2020

I understand now. In my solution I'm using postfunctions, not Jira Automation. Are you using next-gen or "standard" Jira Project? 

Selection_037.png

a841099 October 16, 2020

Thanks @Martin Bayer _MoroSystems_ s_r_o__ , I am using the standard Jira project.

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
October 16, 2020

ok, so then you can use postfunctions in your workflow as suggested in the beginning of this thread. You have to configure workflow which is associated with your project/issuetype

https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html#Advancedworkflowconfiguration-postfunctions

Could you give it a try and come back to me so we can check what is blocking you eventually?

a841099 October 18, 2020

Hi Martin, thanks for the clarification regarding postfunctions. Seems like I have to be an admin in order to configure workflow, which is not possible to obtain from my organisation at the moment. Are there any alternative way around this? I tried to use the automation function, but there is no option to copy the assignee directly to the developer field (there is limited options e.g. in the image attached).

 

There is an advanced option that requires some coding, could definitely use some help on that if you are able to advise.Screenshot 2020-10-19 at 10.36.01 AM.png

a841099 October 18, 2020

I am a novice at JSON, so this is currently blocking for me. If I could ask for a script that would allow me to copy the user in the assigned field to a custom field (developer), it would be immensely helpful.

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
October 18, 2020

hi @a841099 can you create new topic,because it is not about assigning issue now. I will check it today or tommorow and let you know. You can mention me in your new post so I will be notified and I will reply there :)

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
October 19, 2020

Hi @a841099 I have the solution prepared for you, so once you create new topic, I will post it there :) have a nice day

Rick Olson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2021

I am unable to find the new topic; can you point me to it?

Like a841099, we are running Jira Cloud and I'm trying to use automation to save the Developer to a custom field when the issue is transitioned to QA, and then when the issue returns to the development team automatically assign the issue to the Developer.

Thanks for your help!

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
February 16, 2021

Hi @Rick Olson it looks like @a841099 didn't create it. And unfortunatelly the solution was probably in my text editor :D.

But feel free to create a new topic and mention me... we can try to work on it together.

1 vote
Answer accepted
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 17, 2020

Hi andrei.nastasoiu@zitec.com 

Have you considered using Automation for Jira,  which can allow you to set different rules for triggers on transition change and an action to assign to issue to the respective team member.

Suggest an answer

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

Atlassian Community Events