Hi Atlassian Community,
I try to set up a new automation rule that change a due date depending of 2 conditions:
- the Issue Type
- the Environment
First condition is OK.
But for the second, it doesn't work.
Environment is the default field that I customized with 4 values: 'Prod', 'Staging', 'Testing' and 'Dev'.
I want to trigger my rule only when 'Environment equals to Prod'.
So I made this but it's no working:
Field= 'Environment'
Conditions= 'equals' (I also tried 'contains' but it didn't work)
Value= 'Prod'
Match case (and I also tried without)
Audit gives:
Issue condition
The following issues did not match the condition.
Here a screenshot of the global Rule.
If anyone as any idea why the 'Environment' Condition is not working, it would be very much appreciated!
Thanks.
Regards,
Matthieu
Hi @Matthieu SIGOILLOT I think the Environment field that you have chose in this condition is the System provided one and not your custom field that your created. Please go further down in the drop down and choose the right field.
Hope this works for you!
I look in the drop down but there is no other "Environment" field:
Only the one I selected:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Matthieu SIGOILLOT Could you tell me what type of custom field is 'Environment'?
Please check if the field is on the screen and also has value on the issue that you are testing against.
Also, when you choose the field in the screen given above, do you see the drop down to choose the value from? like the one below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the suggested field "Environment" that I used.
Here it's:
And I don't have any Dropdown in my Rule.
I have to specify a value (empty text field):
So I guess this is my problem but I don't see what I'm doing wrong...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Matthieu SIGOILLOT Looks like the field type here is Cascading Select (Parent and Child option), which is not supported under Issue Fields Condition. Instead, please use the IF or Else: Add Condition Block and use Smart values to get the field values.
Example:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anandhi Arumugam _Cprime_ thanks a lot!!
Sorry, I didn't use your condition but instead I created a new "Environment" field with only Dropdown option (not cascading with parents and children).
So now I do have the dropdown in the condition and... it works perfectly.
Thanks again :)
Have a great day!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthieu
Can you share the audit log, AND the issue you used?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John Funk
The audit log is not very helpful.
I tried to add an Action log but didn't help (I guess I'm not doing it correctly).
The Issue used:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.