Forums

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

Custom field that shows last updated by (person and date)

Jo-Lee Bertrand
Contributor
May 24, 2024

I would like to create a custom field, add it to issue types, that shows who updated the issue. I know I can show this on the dashboard, but i would like it as a custom field instead (so can show in lists, etc.). I can't find the code to do this.

2 answers

0 votes
Victor Law
Community Champion
May 24, 2024

Hi @Jo-Lee Bertrand

I think you can create a single-user picker custom field and an automation rule as below:

Screenshot 2024-05-25 at 8.41.22 AM.png

{{initiator.accountId}}

Please note that this automation rule will be triggered whenever a Jira issue is updated, and it might use a large amount of the monthly Automation usage.

https://www.atlassian.com/blog/announcements/cloud-automation-packaging-update

Thank you.

Jo-Lee Bertrand
Contributor
May 24, 2024

Ah! k, I think I may not go that route, but use issue security instead. My end goal was to either know who had changed something, or prevent them from doing so in the first place. Issue security seems to be the better option.

0 votes
Trudy Claspill
Community Champion
May 24, 2024

Hello @Jo-Lee Bertrand 

Adding a custom field is one step. Updating the custom field each time the issue is updated is another step. With which step do you need help?

Do you want one field that shows the person and the date, or two fields?

What is the type of the project with which you are working? Get that information from the Type column on the View All Projects page under the Projects menu.

Jo-Lee Bertrand
Contributor
May 24, 2024

Hello! 

Adding the custom field I think I am good with. I am assuming it needs to be either a text field or JIRA user field.

Company-managed software project. I have gotten to the step of creating a rule that updates a field, but I don't know the smart value for the person who last updated the issue.

Any help is much appreciated!

 

J

 

Trudy Claspill
Community Champion
May 24, 2024

Hello Jo-Lee,

Please show us screen images of the rule that you have built so far.

Jo-Lee Bertrand
Contributor
May 24, 2024

Hi Trudy, 

I decided to go in a different direction. Largely I was worried about folk editing issues after they had been marked approved etc. (and I wanted to capture who last updated because of that) so what I did was install issue security. I think I won't be going down the route of the rule any longer but thank you for reaching out. 

Suggest an answer

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

Atlassian Community Events