I have a custom fields called Customer of type checkbox and while moving an work item to In progress state, if the user selects that check box then the new work item should be created.
For this i was using issue transitioned trigger and to check whether the Customer is selected or not based on this condition the new work itesm should be created.
Any idea how i add/check this check box field values and then proceed furhter.
Hi @Yogesh Mude
To create a new work item when a checkbox custom field named Customer is selected during a transition to the In Progress state:
Important Note- Since checkbox fields can have multiple selections, use "contains" rather than "equals" to check if the desired option is selected.
@Priyanka Khare Nope, its not working, i tried already and the checkbox field is on issue transition screen and user will select the value while transitioning the work item to In progress.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Priyanka Khare It was my mistake as i have added clear field PF on the issue transtiion which is why i am not getting the field value hence the automation is not working as expected.
Thank you for the support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would appreciate if you accept the answer @Yogesh Mude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yogesh Mude
Use the Work Item Field Condition to achieve this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marc - Devoteam I checked and its not working with Field condition. you can take a look at the below attached snaps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more thing the checkbox field is on issue transition screen and user will select the value while transitioning the work item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yogesh Mude
I suggest to use the Edit work Item trigger.
Then use conditions to see if the status is In Progress and a condition on the checkbox field.
A Transition screen field action is an update to a field not a tranisitioon change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doy ou mean Field value changes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yogesh Mude
Yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was my mistake as i have added clear field PF on the issue transtiion which is why i am not getting the field value hence the automation is not working as expected.
Thank you for the support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yogesh Mude
Please accept my answer as a solution, if my answer helped to solve your request.
This will help other community member trying to solve the same.
P.S. If the answer is very valuable to you, please share some kudos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Yogesh Mude ,
You need to set up an automation rule with the trigger: 'Issue transitions to In Progress'. Then, add a condition to check if the 'Customer' checkbox field has a specific value selected. If the condition is met, set the action to create a new issue. This will resolve your requirement.
Thanks!
Ashok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May i ask you what is the condition you have been used Or do i need to use? Like smart value comparison or field value?
Also, i wanted to know to log the selected value of that field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have any example code please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use field value condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already used that and its not working..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide the complete Jira automation rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you see attached snps, this is the first condition that i have added and checking the field values of type check box ie. Create Cusotmer..if yes, then go ahead and do the rest action.
But the first conditions itself is failing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ashok Shembde One more thing the checkbox field is on issue transition screen and user will select the value while transitioning the work item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check this try according
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.