Hello. I created a Confluence Team Calendar to be able to get our PTO requests from Jira so each team in the department can see who will be on PTO. I was able to set it up properly with the right JQL, however, the way the jira ticket is created, it pulls a lot of information in the summary field. Our users and management only want to show the names of the users who requested the PTO (highlighted in the attached picture.
I was thinking maybe there might be a way to do this in JavaScript? I have done a couple of scripts but just to hide the HTML classes, but not to actually change the value. I used dom explorer and found span class="fc-event-title". I also found different classes when I hover next to the event named button class="fc-event fc-event-hori fc-event-draggable fc-event-start fc-event-end jira-issue ui-draggable ui-draggable-handle".
Is there any way to change this view?
Hi @Lisbon Cruz ~ is there a particular reason you are creating PTO requests as Jira issues? Is this due to some approval process you have implemented? I'm guessing you implemented something as outlined here? Interesting as that would be a great way to track and feed into Confluence but I don't believe you can customize the Calendar entries to trim or exclude the Jira issue Summary. Maybe train users to use the existing Jira date fields to capture the PTO dates? These would feed into Calendars nicely. Or you can try to implement some Jira automation to auto-format the Summary to be something like: <Reporter> <type of leave> <start date> - <end date>
Hi Laurie! Yes this is to track PTO days. The project is actually not my own and it's agency wide (government agency) so I can't really make much edits on the project without getting approval. My department doesn't want for everybody to be able to see the summary in the leave calendar, only the name as it provides personal info on PTO that they may not want others to see.
I was thinking as a backup plan to put some kind of automation, maybe in workflow that if the PTO request falls under our department, change the summary view just for the username. Haven't tried but just a thought I had.
Curious, what do you mean by Jira automation to auto format? That may actually work. Thank you for responding :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this what you are referring to?
Solved: How to format description text on automated issue ... (atlassian.com)
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.