Hello -
I am having a problem copying the (system) JIRA Service Desk Field Organizations to a (text box) custom field. I am using a post function Copy Field Value via the JMWE add on that allows me to do this with any other fields.
It seems as though Organizations has a different kind of value than the name I gave it. What I am trying to do is copy the Organizations value "Admin" to the custom field "IT Organization." You can see via the screenshot that the value "4" gets copied to IT Organization."
Is there any kind of work around in order to get what I actually named Organizations (Admin) copied onto a custom field?
Hi Michael,
You should be able to achieve this by using the 'Set field value (JMWE add-on)' post function. This allows you to set the value of your new custom field using a Groovy expression.
The output in your IT Organization field should reflect the Organizations name now, rather than the ID.
Hi Andrew -
Thanks for the response. My question regarding your solution - will this allow me to actually copy the Organizations field (which is set when Issue gets created) to the IT Organizations field?
I'll give it a shot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@ASweetenHi Andrew, is it possible to get the value of the Organization name without brackets in the value?
If I use issue.get("Organizations")*.name it returns with: [some company name] in brackets like that. Anyway to get this without the brackets? Or remove the brackets somehow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also get the brackets "[Organization]" around my extract when using issue.get("Organizations")*.name i also tried issue.get("Organizations")?.name but i actually don't know the difference. Can some one assist?
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.
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.