Forums

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

In the new UI, how to make new "Log Time" field mandatory in workflow transition

Smit Srivastava May 28, 2019

We had "Time Spent" field in the old UI to log time spent. However, in the new UI we have a new field "Log Time" for the same purpose. This field is not in the workflow transition validation screen. So, how to make this a mandatory field when the transition is done, for example - In-Progress to Code-Review [ the transition is to validate the developer has entered the time spent/Log time].

1 answer

0 votes
John Funk
Community Champion
May 28, 2019

Hi Smit.s

You can still add a Validator to the transition to make the field required to move the issue to that status. 

You can also modify your validation to sub out the fields. 

Smit Srivastava May 28, 2019

Hi John,
Thanks for the reply but my problem is that the new field "Log Time" is not in the list to add for validation only "Time Spent" is there. 
I added validation on the "Time Spent" field but now if the user wants to transition in the "New UI" view, he is not allowed to even if he has entered "Log Time". 

I believe a miss from Jira side! It needs to be either added to the list of fields or should map both old and new fields internally to mean the same.

John Funk
Community Champion
May 28, 2019

I see the "Log work" field when I go to add a field to a screen. Maybe they have renamed the field? Have you tried to add a value to the issue to see if it shows up in the field when you do a query?

Smit Srivastava May 28, 2019

In validation field list even log work is not showing for me.

I can see "Log Work" field in "condition" add option. I have already tried that but it gives me error - no "NULL" field found. It seems it's on the UI but in database it's already not. 

 

I was trying the workaround via "Condition" to make it Not Equal to "Blank" but it didn't work!

 

Mine is Jira-Cloud.

John Funk
Community Champion
May 28, 2019

I am in Jira Cloud also and get the error when adding it as a Condition (and also do not see it for Validators). You should open a support ticket with Atlassian as this looks to be a bug to me. 

John Funk
Community Champion
May 28, 2019

You might try the work around mentioned here to see if that helps:

https://jira.atlassian.com/browse/JRACLOUD-68558

  • Change the field configuration to show the field Time Tracking (on your project and or issue type). 

Suggest an answer

Log in or Sign up to answer