Forums

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

Is it possible to store a Scripted field value in Jira cloud?

Jayanth
Contributor
February 17, 2025

For a Story issue type, I want to track the total time spent in a particular status using a timer. While using a Scripted Field in ScriptRunner for Jira Cloud, I can achieve this. However, if the issue moves back to the same status, I want the timer to continue from the previously recorded value, not restart from zero.

Is there a way to store the accumulated time so that it can be retrieved and resumed if the issue transitions back to that status?

Note:

  • I am using Jira Cloud and prefer not to use any third-party apps or add-ons. I am looking to explore the feasibility of achieving this using ScriptRunner Cloud.
  • Only one custom field to display and calculate time.

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Derek Fields (RightStar)
Community Champion
February 17, 2025

Create a custom field to store the accumulated time and an automation to update it so that you don't lose the data. 

Jayanth
Contributor
February 17, 2025

Do you have any reference links or useful resources to achieve this?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events