I have two task in the same project(s) that have the same custom field. is it possible to share the entered value between the two fields. Each of the tickets or task have different issue names.
issue.issueType.name == 'Prep. Work'
issue.issueType.name == 'Production Coordinator Notified'
The value would be entered into the customFieldId=11513 that resides in the Prep. Work issue and then can be seen in the customFieldId=11513 that is located in the Production Coordinator Notified issue.
I have scriptrunner and think this can be done as a listener but not exactly sure define the fields with same name on two different issue types.
This will only work if the two issue types have the same field context - that is, custom field 11513 is the same field on both issue types (so if they're a select list, they have the same list of options). This means the field itself is the same on both issue types (whatever the actual content, the field is the same, and accessed in the same way on both types)
A listener or post function can then get the value from the first issue, work out what the second one is, and overwrite the value in the field in the target issue.
Nic,
The fields can have the same value. that is not a problem I have been searching for a sample code that would do this are almost do this, but I have had no luck in my search.
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.