Hi ,
JIRA tasks are not appearing in the Team calendars for Confluence
In our JIRA tasks we have created a new fields called end time which is datetime (mandatory).
In Team calendars for Confluence I have created a calendar to show all the tasks (Event type = Jira Issue Dates . I have set the show option to date range using the start date (existing field) and end date (new Field) .
The JIRa's for my filter are not showing .
If I change the option to Show single date using Issue Due Date the item appears.
Can anyone please help.
Hi @Davide Cascapera Apply Scriptrunner behaviour on Field 2 :-
Try below script it should work :-
def field1 = getFieldById("customField_20600")
def field2 = getFieldById("customField_10001")
if( field2.getValue()== "my chooise"){
field1.setHidden(false)
} else {
field1.setHidden (true)
}
Thanks
V.Y
Hi Vikrant thx for ur suggestion but doesnt work, I tried now and the field1 continued to stay in hiding when I select "my chooise" in field2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Davide Cascapera i have tested the script on my machine , Script is working fine :-
Have you applied behaviour script on Select list field ?
def application = getFieldByName("Application Count")//Select list field
def description = getFieldByName("Description")//text field
if (application.getValue() == "1"){
description.setHidden(false)
} else {
description.setHidden(true)
}
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.
before dependent leave I should see a field named Settlements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know that the syntax is correct and the behavior should be working, I think maybe there is another bheavior goes in conflict with mine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Davide Cascapera Thanks for the screenshot, Custom Request Type is not a Custom field, this is Scripted field or Programmatically field, that's why behaviour is not working.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From the script you provided, I'll take it that you are working on server, rather than on cloud that you have stated in this thread. I'll change the tags.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.