i would like to copy the the level-1 value from multi-level cascading custom field to single line text field custom field under same issue, during issue creation and issue updation, and how we can achieve this using behaviour script, i have tried multiple times but it didn't worked out, please share me a behaviour script.
Hi @Jeevan ,
As Marc said, you can do this with ScriptRunner but also with Automation. I've used this on cloud but should be the same for DC. You can get the cascading field value (whether level 1 or 2) via smart values and then just 'copy' that string into another field.
You might want to check out the following thread for this: https://community.atlassian.com/t5/Jira-questions/Use-cascading-fields-in-automation/qaq-p/1960012
But also, the same question as above - what's the use case of copying existing data to another field as you'll have duplicated values?
Anyway, hope this helps.
Cheers,
Tom
Hi @Jeevan
Welcome to the community.
I don't think this is possible with a behaviour, but using scriptrunnner itself (i'm no expert).
But my 1st question is why copy data thats in the issue to another field in the same issue?
This seems creating duplicate information for what kind of reason?
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.