Forums

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

Team Calendar does not sync all events

Lukas Hummer
February 19, 2019

Hey!

so, i´m trying to sync our Team Calendar in Outlook, Thunderbird and Google Calendar.

We are using Confluence Cloud and have a "My Calendar" and a Site Calendar.

 

When i am subscribing to the "My Calendar" i only see the Travel and Birthday Events, and syncing with the Site Calendar i only see the Events and Leave Events on thunderbird, and only the leave events on Outlook, and on the Google Calendar i would see the events and leaves, but not everyone.

 

I do not see all standart events and i do also not see any custom Events (wich we mostly use).

Is there any workaround or setting to see every event?

Like this it´s not useable because we do not see our custom events and you need to subscribe to two calendars, wich are actually the same but do show different events, just to see the standart events.

 

Thank you!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
3 votes
Answer accepted
Vikrant Yadav
Community Champion
July 21, 2021

Hi @Venkat_S 

you'll have to place this script as server side script for Component/s field

import com.atlassian.jira.bc.project.component.ProjectComponent
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript

@BaseScript FieldBehaviours behaviours

def plan_modification = getFieldById('customfield_39257') //replace with Dod field Id

def components = getFieldById(getFieldChanged()).getValue() as List<ProjectComponent>
def compField = getFieldById("component")
compField.setAllowInlineEdit(false)

if (components.any {it.name.contains("Generic_Tasks")}) {
plan_modification.setHidden(false)
plan_modification.setRequired(true)
}
else {
plan_modification.setHidden(true)
plan_modification.setRequired(false)
}
Venkat_S
Contributor
July 21, 2021

Hello @Vikrant Yadav ,

Thank you so much for the quick solution.

This one worked like a gem !

 

Thanks again !

Regards,

Venkat

Like Vikrant Yadav likes this
Vikrant Yadav
Community Champion
July 21, 2021

@Venkat_S  Cool, Glad to hear it works for you!

Venkat_S
Contributor
July 21, 2021

Hello @Vikrant Yadav 

In addition to this,

I also need help with another behaviour with the Xray "Test Repository path" field.

WHEN the "Test Repository Path" is "NTG7 Widgets"

THEN the custom fields "Review" and "Review Comments" should be made mandatory.

ntgsui_scriptrunner.png

 

Thanks in advance,

Venkat

Vikrant Yadav
Community Champion
July 21, 2021

Hi @Venkat_S  Is Test Repository path dropdown field ? 

I think this is a field of a plugin. We can apply behaviour on dropdown field not sure it works on XRay plugin field or not. 

Have you tried to apply Behaviour on this field similar to dropdown field ?

We dont have this plugin in our JIRA instance, so didn't get chance to apply Bheaviour on this field.

If you need a script similar to dropdown field i can share. or you can create new thread in Atlassian Community, might be anyone tested Behvaiour on XRay plugin field.

Thanks

Vikrant Yadav

 

Venkat_S
Contributor
July 21, 2021

Hello @Vikrant Yadav ,

 

yes, it is a special field part of the Xray plugin. The type of the field is also called "Test Repository Path". I am not sure what category it comes under.

21_7.png

 

Nevertheless, Could you please share the script for a dropdown field ?

I will see if i can relate that to this.

 

Thanks a lot for your assistance,

Venkat 

Vikrant Yadav
Community Champion
July 21, 2021

@Venkat_S  

https://www.idalko.com/use-behaviour-functionality-script-runner-show-hide-fields/

def dropDown = getFieldById("customfield_10500")
def conditionA = getFieldById("customfield_10501")
def conditionB = getFieldById("customfield_10502")
log.debug("dropdown value" + dropDown.getValue())

if (dropDown.getValue() == "a") {
conditionA.setHidden(false);
conditionB.setHidden(true);
} else {
conditionA.setHidden(true);
conditionB.setHidden(false);

}

 Thanks

siva
Contributor
December 1, 2022

@Vikrant Yadav 

My question is related to required field and it seems slightly related to this issue. Can you please help me on this

https://community.atlassian.com/t5/Jira-Software-questions/Fields-required-based-on-other-custom-field-values/qaq-p/2206598#M235497

TAGS
AUG Leaders

Atlassian Community Events