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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Block Time tracking when an issue is in specific state

How do i stop time tracking on an issue when a ticket is in a specific status.

 

 

START  ------->IN PROGRSS---------->IN DEV [ 1 hr ] ---------->  DONE 

 

[ total time = 5hrs]

 

when the issue state is in IN DEV  i need the time not to be logged.

 

so the total time time would be 4 HRS.

 

Thanks

2 answers

Hi Siva,

Thank you for your question.

I can confirm that unfortanetly it is not possible to prevent data from being edited into the time tracking fields using *ScriptRunner for Jira Cloud*, as the plugin is unable to perform any dynamic validation on issue forms to link or hide fields like the server version can with the Behaviors feature.

The reason we are unable to provide this functionality is due to the restricted functionality and API's which Atlassian provide inside JIRA Cloud, due to the fact that Atlassian only provide a Rest API in Jira Cloud and not the same Java API that the server version contains.

You can see more detailed information on the differences between ScriptRunner for JIRA Cloud and ScriptRunner for JIRA Server inside of the documentation page located here.

If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.

Regards,

Kristian

Hi @siva ,

This is exactly what you can achieve with "automated mode" of Clockwork app delivered by my colleagues. It can be set to track time automatically only for "In Progress" status. 

I'm not sure about restricting the "log work" action that comes from Jira though. I hope the Clockwork team can shed more light on this so feel free to contact them at https://herocoders.atlassian.net/servicedesk/customer/portal/1

Cheers,
Jack

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

260 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you