Hello,
I'm pretty sure I have my syntax wrong, any help would be appreciated.
I have a custom field; Select list / single choice (Yes/No). When an issue is created, I need a sub-task to be created if the custom field value is equal to 'Yes'. I have tried a variation of the below, but I don't think I have the syntax correct. If I remove the condition, the transition works correctly.
Condition 1, %values_<customfield_11126>%
RegEx, 'Yes' (exact)
Thanks,
Steven
Are you using "Create-on-transition" App? Or any other App to get the expected result?
Best
Fadoua
Hi @Tinker Fadoua,
I'm not sure what you mean, I'm using the Jira Software admin portal; no 3rd Party app or add-on. I created a workflow and added a Post Function / condition in the 'Create Issue' transition.
Thanks,
Steven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wanted to make sure. I promise to look into your request and I will share with you an article I wrote.
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Morning @Steven Perez
From the screen above I think you are trying to add a trigger?
Please let me know the steps you are trying.
My article is about tasks and subtasks as post-function, I will share it even though that's not what you are trying:
Click here to read more.
Best
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Fadoua,
Thanks for your article, you are covering what I am trying to accomplish. The only difference is the condition being with a custom field. This is a very basic workflow, only testing the POC right now. I believe the steps are correct, it works without the condition. I just believe my syntax is not correct. See screenshots below:
Workflow Diagram:Condition on 'Create Issue'
Thanks,
Steven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It should work with your custom field.
Check the following link, You may find what you are looking for:
https://bitbucket.org/fcarmario/jira-workflow-toolbox/wiki/browse/post-functions
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you able to confirm a custom field syntax? I checked our your wiki but did not find anything on custom fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not good at Regular Expressions. Here are some links:
https://apps.decadis.net/display/JWT/Condition+and+validation+based+on+regular+expression
Did you check these?
https://apps.decadis.net/display/JWT/Condition+and+validation+based+on+regular+expression
Best
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like I was over-complicating the syntax. The condition worked correctly when using it without < > characters. I also removed the mention of the 'values' data.
ie. %customfield_11126%
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad it is working for you! Two thumbs-up!
Thank you for accepting my answer!
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've been trying to do something similar with a custom field and I've used the same format, i.e., %customfield_10202%, but the condition isn't met. The actual text I'm trying to have it match is the text "New Customer Onboarding". Could it be because there are spaces in the text?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.