uniqueck / asciidoctor-jira Goto Github PK
View Code? Open in Web Editor NEWA set of macros to integrate Jira issues to your Asciidoc based documentation
Home Page: https://uniqueck.github.io/asciidoctor-jira/antora-jira/index.html
A set of macros to integrate Jira issues to your Asciidoc based documentation
Home Page: https://uniqueck.github.io/asciidoctor-jira/antora-jira/index.html
If I define a custom field id of type number, the table couldn't render.
Define a field of type number and define these field as custom field id.
The table should render correctly with this values of this custom field.
OS: Ubuntu 22.04 LTS
Node: v16.x
no
no
If a JIRA JQL is wrong or misspelled the error is not clear, to the user.
The extension should log the problematic JQL and stop continue processing.
no alternatives exists.
no
SSO is active in our Jira. When I try to embed Jira issues via the block macro, nothing is displayed. I have seen that Basic Auth is used in the Jira.js file. I have tried the following combination
JIRA_USERNAME: username / JIRA_APITOKEN: password
JIRA_USERNAME: username / JIRA_APITOKEN: personal access token
JIRA_USERNAME: email / JIRA_APITOKEN: password
JIRA_USERNAME: email / JIRA_APITOKEN: personal access token
I always get a 401 error from Jira.
Is it possible that the personal access token can also be transferred as a bearer token as authentication as alternative to username:password?
lib/Jira.js constructor
if (jiraUserName )
const auth = 'Basic ' + Buffer.from(jiraUserName + ':' + jiraApiToken).toString('base64')
else if (jiraPersonalAccessToken)
const auth = 'Bearer + jiraPersonalAccessToken
this.headers = {
authorization: auth
}
Some fields from Jira may be returned as array (e.g. custom fields) - this is not covered by plugin and data are not shown.
To add conversion of data from array before trying to convert data from object (file asciidoctor-jira.js, after line 50), such as:
if ( value != null && (value.constructor === Array) ) {
value = value.toString()
}
There are no alternatives if you want to be able to view the jira fields that are returned as array.
I've tested the modification and it works. I apologise for not creating a pull request as I do not primary operate on a public github.
It should be possible to use a nested issue key e.g. reporter.displayName, it would be nice if we can use default and label values for this nested properties as well.
Issue type icon is always rendered as image in front of issue key column.
Define customFieldIds without issuetype as column name.
Issue type icon should only rendered, if issue type is defined as custom field id.
OS: Ubuntu 22.04 LTS
Node: 16.x
no.
no.
It would be nice if the issue id column size is 1 and all other columns has the column size of 2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.