Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIKI doesn't work in Page Forms #10

Open
z0n opened this issue Sep 18, 2017 · 2 comments
Open

JIKI doesn't work in Page Forms #10

z0n opened this issue Sep 18, 2017 · 2 comments

Comments

@z0n
Copy link

z0n commented Sep 18, 2017

Hi,

I'm trying to use JIKI together with Page Forms (former Semantic Forms).
I have a template which includes a JIKI JQL query:
<jira jql="project = {{{Jira project|}}} AND status was not in (Closed, Done, Resolved) ON {{{last release|}}} AND createdDate &lt;= {{{release date|}}} ORDER BY priority"></jira>

The values ({{{Jira project|}}} etc.) are filled by pages using this template.
However, JIKI doesn't seem to include them correctly as all I see is Error while calling JIRA... when opening a page using this template. The query works fine when I manually fill in the values but it looks like it's not working dynamically.

@z0n
Copy link
Author

z0n commented Oct 13, 2017

@gvoss: Are you still working on this project?

@z0n
Copy link
Author

z0n commented Nov 15, 2017

I fixed this using a workaround:
Instead of
<jira jql="project = {{{Jira project|}}} AND status was not in (Closed, Done, Resolved) ON {{{release date|}}} AND createdDate &lt;= {{{release date|}}} ORDER BY priority"></jira>
I used
<jira jql="project = {{#show: {{FULLPAGENAME}} | ?jira project }} AND status was not in (Closed, Done, Resolved) ON {{#time: Y-m-d | {{#show: {{FULLPAGENAME}} | ?release date }} }} AND createdDate &lt;= {{#time: Y-m-d | {{#show: {{FULLPAGENAME}} | ?release date }} }} ORDER BY priority"></jira>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant