Forums

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

Automation rule.

Anand Vardhan
Contributor
May 13, 2019

How to set automation if the ticket is in a particular state and the original estimate is empty?

Basically, I want to set an automation trigger whenever the state of the ticket is moved from review to in progress and the original estimate? I want the state of the issue to remain the same until and unless the original estimate is set. This is what i've done so far.

Thanks in anticipation!

Screen Shot 2019-05-14 at 12.21.30 PM.png Screen Shot 2019-05-14 at 12.22.21 PM.png

1 answer

0 votes
Jack Brickey
Community Champion
May 14, 2019

Disclaimer: I’m not where I can try this.

It would seem to me that you don’t need automation here. Rather set a Condition in the workflow on the transition from Review to In Progress requiring the OE to have a value. Or if the OE is typically filled in at that stage then use Validation and a screen to ensure the user adds the OE.

Anand Vardhan
Contributor
May 14, 2019

Noted!

Another scenario, I want to promote users to fill the time spent at every transition and this should be independent of the previous time logged. For eg- an issue is moved from QA to Sign off and the QA resource doesn't input the time log but there is time log from previous devs and if the QA proceeds to move the issue without mentioning his/her time log. In this case, I want to send a notification or not allow the ticket to transition to sign off.

Jack Brickey
Community Champion
May 15, 2019

Again I have not played with this directly but would recommend you look at adding this Validator for any transition - Field has been modified Validator - Field value must be changed during the transition. There are other Conditions and Validators you could look at, e.g. field compares where you could possibly check if the current value is greater than previous value (which would be a custom field to record the 'current value' into the field when transition is successful.

Anand Vardhan
Contributor
May 15, 2019

Hey Jack,

 

Thanks for the response!

I did add a validator while transitioning from QA->SignOff. I added Field modified validator. It works correctly and shows the alert. However, even if i enter the time log after the alert, the alert or validators still comes into the play. Any insight on why this happens or how to remove this?

Jack Brickey
Community Champion
May 17, 2019

i'm not sure i'm following here. 

Are you saying that when you transition an issue from QA to SignOff you have a screen that pops up presenting you with the time log and you feel it in and then submit and you get an error telling you to fill in the time? Please provide some screenshots that could illustrate what you are seeing along w/ you transition config and validator screens

Anand Vardhan
Contributor
May 19, 2019

Sure. I'm attaching two screenshots. One for the workflow and the other for the validator in place.

Screen Shot 2019-05-20 at 11.10.18 AM.png Screen Shot 2019-05-20 at 11.09.39 AM.png

The idea is to not allow the user to move the ticket until the time spent is filled in this transition. And if this is filled, the transition should happen.

Suggest an answer

Log in or Sign up to answer