I need to run a script to perform some changes on the values of a custom fields by splitting the value based on a specific string. How do I run such script in jira automation?
Thanks
Hi @Jamshaid --
So Jira Automation doesn't support running scripts (Bash, Python), but it might be able to do what you want using built-in functionality.
If this is a one-time thing you need to run, you could use a Manual Trigger.
And then to update a custom field value, you would use the Edit Issue action.
Within the text field Smart Value functions, there is a split, which might help you accomplish what you are trying to do.
If you need more assistance, please provide the specifics, and we can help.
@Darryl Lee thanks for responding. I need to split this value
52-CT83 that is in custom field PROJ to 56 and CT83 and set 56 to a custom field. How do I do this using automation?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to the hint by @Darryl Lee , I have got it working with the following flow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to see you got it working! Sorry I misunderstood what you meant by "running a script". I'd appreciate if you could accept my answer below, since it did lead you to the split() command that you were looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I am a JIRA Developer and part-time Freelancer. I provide support for all types of Cloud and Data Center scripting solutions, including Groovy and SIL. I specialize in Listeners, Behaviors, Conditions, Validators, and Custom Post Functions. If you need assistance, feel free to contact me on WhatsApp at +17866876777 or via email at freelancerjira@gmail.com.
you can reach out to me i will solve your problem
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.