Forums

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

How to automate a transition based on the comparison of a custom field value?

Angel Casas February 2, 2018

Hello, I'm new to Jira Help Desk. Is there a way to automate a transition using a comparison of a custom number fields value? My goal is to to edit a custom issue that has a hidden field called Working Hours it's default value is 0. The user creates the issue and the agent edits that field so when the issue is edited and updated the automation would take place and decide: IF Working Hours > 40 then go to a management approval status Else if Working Hours <= 40 it goes to a In Progress status. The id of this field is cf[10200]. I have tried adding this logic using automation and  but I think i'll need to make a script. Since the issue created condition is not referring if I use When issue updated or When issue created. ThanksScreen Shot 2018-02-02 at 3.02.04 PM.png

1 answer

0 votes
Deeksha
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2018

Hi Angel,

It seems like you're using a third party plugin for automation. We have that capability within service desk.  Find out more about setting up auto approvals here.

 

- Jira Service Desk Team

Angel Casas July 24, 2018

Hi Deeksha,

I am at the Jira automation tool I would like to use the following condition: 

cf[10200] > 40 but the following message appears:
Screen Shot 2018-07-24 at 10.11.54 AM.png

Deeksha
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2018

Hi Angel,

 

What type of custom field is working hours? The greater than selector in JQL works for fields that support ordering, and does not work for text fields. Here is some more information on advanced searching.

 

Cheers,

Deeksha

Angel Casas July 25, 2018

I mistakenly picked a text field instead of a numeric field. Everything is working now. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events