Hi All,
I have 2 projects, I added a scripted post function which creates a new issue in project 2...,
Here i need to copy Issuekey of project 1 to Custom field Value of project 2. and also copy custom field X value of project 1 to Custom field Y .Can you guys help me on this.
Thanks
harish Kumar
Hi Ewa,
Not sure if you have already figured out the answer to this question, but yes you can definitely use the field value as a condition. The condition could be something as simple as this for a regular text custom field:
cfValues['Some Custom Field'] == 'Some Value'
Or, you could have a condition that checks for project key, issue type name, and the value of the custom field:
issue.issueType.name == 'Bug' && issue.projectObject.key == 'XYZ' && cfValues['Some Custom Field'] == 'Some Value'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.