I'm currently using the Parse field for extracting data post function but can't get it to work on a URL.
Is there something obvious I'm missing? Is the problem that the target field isn't a URL field?
is there any specific reason you are using the "Parse field for extracting data" post function? If I got you right, you just want to copy the URL from Field1 to Field2, right?
In this case our "Update issue fields" post function might fit a bit better. The configuration for this would be:
The configuration should then look something like this:
Please let me know, if this works for you or if you need further help here!
Cheers
Jona with the xApps team
In my URL, it's formatted https://abc/view/number
I was trying to pull just the number portion into a new field. Is there a better way to try to perform this action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the clarification. In this case we can use the following config:
replaceAll(%{nnnnn}, "((?:.*)\/)", "")
and replace nnnnn with the field code for your URL field (you can select the field in the dropdown "String field code injector").
This expression will only parse the part after the last / to the text field.
The configuration should look like this:
Cheers
Jona
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.