Fetch the assignee at a particular status

Jira Billing January 28, 2025

I’m using Jira Data Center for managing tickets.

In a particular workflow, I have a transition from All to several statuses, including the TODO status.

I want to assign the issue to the last assignee when the issue was in the TODO status. The assignee can change when the issue is transitioned out of the TODO status say to In Development.

Specifically, when transitioning the issue from All to a status like Product Dependency, I want to assign the issue to the user who was assigned when the issue was last transitioned to the TODO status.

Kinldy help me with how to achieve this behavior.

2 answers

0 votes
Bill Sheboy
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 28, 2025

Hi @Jira Billing 

Do you have Jira automation rules installed in your instance?  If so, you could create an automation rule to save the current Assignee in a custom field when transitioning from the "Todo" Status and use it later with another rule (or in a workflow action).

Kind regards,
Bill

0 votes
Radek Dostál
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 28, 2025

I think you contradicted your requirement there at the end.

 

Nevertheless this isn't something you could do because the "last assignee in a particular status" just simply isn't tracked. At best you would have to go by issue history, go through each individual change, to figure out when the status was last in a particular status, and in parallel you also need to go through that same history to find out who the assignee was.

It wouldn't be difficult to figure out how to write the searchers, but it would end up being custom code in Java API, because you won't get this data from anything else other than issue history.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.17.0
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events