Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to assign a ticket to person who has updated a specific field

Muhammad Akram Sharifi
Contributor
December 20, 2024

Hi Everyone, 
I have a project where multiple users are working in one ticket, Now I have a requirement to assign the ticket to one of those who has updated the Description field.  

when the ticket workflow status changes to "Rejected," Assign the ticket to the user who updated the "Description" this user might not be the reporter or the current assignee. 

everyone's input is appreciated. 

2 answers

1 accepted

4 votes
Answer accepted
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.
December 20, 2024

Hi @Muhammad Akram Sharifi 

What problem are you trying to solve?  That is, "why do this"?  Knowing that may help the community to offer alternative solution approaches.

Until we know that...

Do you want the last person who updated the Description field, or something else?

If it is the last person, that could be one of two people:

  1. if the Description has not been updated since the issue was created, it would generally be the Reporter (i.e., the person who created the issue)
  2. if the Description was updated later, the user could be found in the issue history, or by saving the user in a custom field when the Description is edited

Both of these cases could be managed using automation rules and a custom field:

  • add a custom field to track the user, for example named Description Last Updated By
  • add an automation rule, triggered on issue creation, that sets the custom field to either the Reporter or the person who created the issue: {{initiator.accountId}}
  • add a second automation rule, triggered on an update to the Description field, which updates the custom field to {{initiator.accountId}}

When you need to re-assign the issue, use that custom field as the source for the Assignee.

Kind regards,
Bill

Muhammad Akram Sharifi
Contributor
December 20, 2024

Hi Bill, 
Thanks for the reply actually we don't want to add a user field to keep the "description field update initiator info. 

I would like to know if its possible to get that information from the history of the ticket. 

 

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.
December 20, 2024

You could manually look at the history for each issue, or you could use the REST API endpoint to check the issue history. 

Using the endpoint will require searching the results to find changes to the Description field and may require multiple calls with paging results if the issue has changed many times.

Like • Jehan Bhathena likes this
0 votes
Petru Simion _Simitech Ltd__
Atlassian Partner
December 21, 2024 edited

Hi @Muhammad Akram Sharifi 

 

While you could look at each and every ticket in the History tab and try to depict the value change on a field, this could prove time consumming and error prone. Especially that a field value could have been changed multiple times, on the same ticket.

If you are open to apps you can use Issue History Dashboard for Jira, an app released by our company.

https://marketplace.atlassian.com/apps/1235591/issue-history-dashboard-for-jira?hosting=cloud&tab=overview

 

As per the attached example, you can filter by Updated Field where you can add one or multiple fields that you are interested to see the change for. You can also restrict by Date of Change from and to so that you obtain targeted results.

If you want to look for changes made by a specific user, or users, you can do this by populating the Updated By field in the filter.

You can export your search result to csv for audit or further analysis.

 

Regards, 

 

Petru

Screenshot from 2024-12-21 11-48-39.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events