Comments (19)
Hi, is there any (public) instance where I can have look at? If so i think i can fix it with ease.
from jira-issue-card-printer.
Hi Bengt, Atlassian has released a new projects called (next-gen) and they have obfuscated the DOM code.... see more here: https://mraddon.blog/2019/01/14/atlassian-is-obfuscating-jira-cloud-why/
About a Jira Cloud free instance for development, please follow these instructions:
https://mraddon.blog/2016/05/11/new-jira-cloud-development-environment-free/
Best regards!
from jira-issue-card-printer.
The issue is the obfuscation of their classes, I need to have a javascript snippet to get all selected issue keys like NEX-123
, however its not that easy anymore.
I've added some hacky workaround code, however I'm not sure if this will be stable at all.
For me the board view of 'next gen projects' works for me.
from jira-issue-card-printer.
Another workaround is to select all your issues you like to print from https://<URL_OF_YOUR_JIRA>/issues
and select the list view (not the one with the preview panel, because than you can only print the selected issue), here the card print will work as expected.
from jira-issue-card-printer.
its broken again :-/. any ideas?
from jira-issue-card-printer.
Hi Bengt, I see it working! To select the tickets in the next-gen boards you must use "Cmd" key in Mac. The "Shift" key only works in the old boards.
from jira-issue-card-printer.
from jira-issue-card-printer.
For some reasons it only works on Kannan board. Maybe they are developing actively on the scrum board and therefore the class "hash values" changed more often.
Do anyone know how this obfuscation works?
from jira-issue-card-printer.
Hi Bengt, In the next-gen scrum boards it works
from jira-issue-card-printer.
In the old SCRUM and KANBAN it works fine (checked) and in the new next-gen also works fine!
About the obfuscation in your case I think there is no problem Bengt!
I think Atlassian is using this https://stackoverflow.com/questions/50870666/css-class-names-in-atlassians-jira-are-obfuscated
from jira-issue-card-printer.
In dead it works :-D
okay then i will close this issue for now. please reopen if it stops working again.
from jira-issue-card-printer.
I have checked again and it works fine in all boards, except in the backlog of the next-gen projects. I do not understand how it was working a little time ^^ (the proof is the screenshot!)
from jira-issue-card-printer.
I made some test as well and it seams to work sometimes and sometimes it does not. The css classes changes for some reasons in an unpredictable way 😮
from jira-issue-card-printer.
Ooopssss then probably is impossible... :S
from jira-issue-card-printer.
I might found a way to fix it, find selected issues by background color, little hacky but it seems to work
Array.from(document.querySelectorAll('div[tabindex]')).filter((element) => {
let style = getComputedStyle(element);
return ( style.backgroundColor == 'rgb(222, 235, 255)' );
})
from jira-issue-card-printer.
I've released a fix. please confirm.
from jira-issue-card-printer.
Wow amazing trick! I will test this weekend! Thanks Bengt
from jira-issue-card-printer.
Actually I don't understand why i didn't have this idea before. It is the most obvious solution to select by visual colors :-D
from jira-issue-card-printer.
It worked wonders! Spectacular! Thanks Bengt
from jira-issue-card-printer.
Related Issues (20)
- IE 11 Support
- Something changed? HOT 3
- Make use of Jira Agile Api
- Safari Blank Page
- IE Paper Bottom ZigZag
- "stack": ReferenceError: formatDate is not defined HOT 2
- Jira without jQuery or jQuery in save mode HOT 4
- 404 Not Found exception HOT 3
- Epic field is not displayed in Chrome HOT 2
- Support for Bitbucket HOT 4
- Show Epic Name instead of Epic issue key HOT 3
- Show Remaining time for Sub-tasks in Jira when Estimate mark is set HOT 1
- Cards are empty when using latest Jira interface HOT 4
- Trello support not working HOT 2
- Trello - card should be printed with rendered description HOT 5
- No working: chrome detect qoomon.github.io as a phishing website HOT 4
- Support for Kanboard HOT 8
- Using this with Firefox HOT 7
- May we host this on our intranet for our own in-house use? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira-issue-card-printer.