Hi,
we're using Jira Server with Script Runner 6.15.0 and Backbone Issue Sync 4.1.5.
We have two custom fields whose values should be transferred to another Jira instance using "Backbone Issue Sync" depending on issue status.
My first idea was to create an additional Custom Field of the same type for each of these two fields, which is not displayed on any screen. These additional fields should be filled via Behaviour Script with the value of the corresponding displayed field (taking the Issue Status into account) and Backbone Issue Sync should transfer the values of these hidden fields. My script for the Date Picker field looks like this (a server side script on field "Offer valid thru" at the moment without considering the issue status):
import com.atlassian.jira.component.ComponentAccessor
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def offerValidThruField = getFieldById("Offer valid thru" )
def offerValidThruJ4CField = customFieldManager.getCustomFieldObjectByName("Offer valid thru J4C" )
if ( offerValidThruField && offerValidThruJ4CField) {
def offerValidThruValue = offerValidThruField.getValue()
underlyingIssue.setCustomFieldValue(offerValidThruJ4CField , offerValidThruValue )
}
Unfortunately the additional field "Offer valid thru J4C" is not filled by this script with the value from "Offer valid thru". An additional problem I suppose: if the field would be filled by this script, then this would happen for example while the edit screen is still open. If the edit screen would be closed via Cancel, then "Offer valid thru J4C" probably would still ccontain the changed value. But I probably can't use the method field.setFormValue(), because the field is not displayed on the screen.
My other thought is to create these two additional fields as script fields, and define in the associated script that these fields get their values (if the issue status condition is met), from the associated displayed fields. However, since the two additional fields should never be displayed, the question is whether "Backbone Issue Sync" would also call the script to retrieve the values when synchronizing during its sync.
It would be really great if anyone has any tips.
Thanks in advance, best regards!
Frank
Hi @Heather Dubin ,
Jira Service Desk approvals rely on the following configuration made within the workflow:
That said, once you enter an approval status, the users defined by the 'Get approvers from' configuration (here: users selected in the Approvers field) will receive an email to approve the issue. Per default, only those users are able to push an issue forward then.
If you're an administrator, please check the corresponding configuration. If not, you should reach out for her/him.
Cheers
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.