Hello my friends
i had used "cwx publish issue (deprecated)" post function in my create issue transaction. in template of this postfunction i have a confiform form.
i want to show status of linked issue (from jira) in a field of confiform (in confluence). in this way i can use "ConfiForms Field Definition Rules" to restrict edition of form in some issue statue (from jira).
can you help me in that way?
Hi
There is no need to over complicate things with additional macros (rules or additional ConfiForms fields) and so on...
if you have a Jira issue field (type) in ConfiForms then you can easily access any property/field of the linked Jira issue https://wiki.vertuna.com/display/CONFIFORMS/Accessing+Jira+issue+fields+directly+from+ConfiForms+using+Jira+issue+field
Alex
Hi Alex & everyone else,
I searched everywhere and didn't find anything. Is there a way to show two (or more) Jira issue field contents in one confiform "cell" (via the "Field name" definition )? Specifically, two of a different kind. And more specifically, the following svg and text?
Priority icon (svg):
JIRAISSUE.fields.priority.iconUrl.prepend(<img width="16px" src=").append("/>).renderAsHtml
Priority name (txt):
JIRAISSUE.fields.priority.name
I want them to be shown like this in one "cell" of the resulting confiform table:
Critical
Both are "children" of priority which looks like this:
{"name":"Critical","self":"https://jira.<...>/rest/api/2/priority/2","iconUrl":"https://jira.<...>/images/icons/priorities/critical.svg","id":"2"}
Thanks in advance for your response,
Ronny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ronny
Try the following
JIRAISSUE.fields.priority.name.prepend([entry.JIRAISSUE.fields.priority.iconUrl.prepend(<img width=
"16px"
src=
").append("
/> )]).renderAsHtml)
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
thanks so much. That did the trick!
Best,
Ronny
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.