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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to create a scripted or calculated field to capture the date an issue was first assigned?

I have a need to capture the date that an issue was first assigned to a person. I recently installed ScriptRunner in an attempt to create a scripted field or listener  hat will achieve this, but have had no luck. 

I attempted to use the script found here but, discovered that this is for Jira Server, not Jira cloud. I made some updates to the script in an attempt to get it working for cloud, but had no luck. 

Has anyone ever had success in doing this? Can you share how you went about creating it? 

I'm relatively new to Groovy scripting, and mostly unfamiliar with the Jira Rest API. 


1 answer

0 votes
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 15, 2023

Hi @Sean Miller 

Did you find a resolution to this question? If not, have you considered using native Automation instead?

You could:

  • Create a custom Date or Date/Time Picker
  • Use Automation to populate it


The rule might look something like this:

  • Trigger: Issue Assigned
  • Condition: Issue Fields Condition
    • Field = <Custom Date Field>
    • Condition = is empty
  • Action: Edit Issue
    • Field = <Custom Date Field>
      • Value = {{now}}


A few notes on this rule:

  • I added the Condition to ensure the field is only updated once - i.e the first time the Issue is assigned.
  • The Action uses a smart value - {{now}} - to set the date/time dynamically. To see more date/time smart values, see this help page


Let us know if this is useful!


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events