Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

script runner workkflow post function on jira datacenter version.

wonderid
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 19, 2022 edited

Is it possible to use "Copy field values"  built in script to copy the date from a custom field to "Assignee" system field using scriprunner in a post function ? I dont see the "Assignee" field in the dropdowns.

2 answers

1 accepted

1 vote
Answer accepted
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 19, 2022

Hi @wonderid Welcome to Atlassian Community!

Using Copy field value built-in , you can only copy values between Custom fields. System fields are not available.

Alternate solution, For moving a data from custom system to Assignee field. Try to use External System import >> CSV Import >> In Assignee column put assignee username and import csv file, it will update filtered issue Assignee. 

Thanks

V.Y

0 votes
Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 22, 2022

Hi @wonderid

You mentioned post-function and I am assuming that you want to copy the field values in the workflow when the ticket is transitioned from one status to the other.

In that case, you can use 'Copy issue fields (JMWE app)' option in the post-function, provided you have 'Jira Misc Workflow Extenstion' app installed.

Or, use 'Update or copy field values' option if you have 'Jira Workflow Toolbox' app installed.

Use 'Copy field values [ScriptRunner]' option if you have 'ScriptRunner' app installed.

Hope this helps.

Thanks,
Vamsi

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events