In Confiforms, if Summary is entered in the Field definition how to set JIRA key to another Confiforma field?
Summary: Test
Jira Key:? how to set the value by looking the Summary value in particular project and epic?
Do you want to search Jira issue by text entered and project (preset)? Is that what you are asking?
Yes, want to get JIRA issue for text entered.
If, entered Summay text value is : ATM.
(Confirm forms to return)Jira issue: XYZX
Confiforms to search in the preset project (Summary field) and return JIRA ISSUE KEY.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What if there are multiple matching issues? Should it return the first one matching?
Small example utilizing lookup and set from WS rule and Jira REST API to search the issue by JQL
Storage format
<ac:structured-macro ac:name="confiform" ac:schema-version="1" ac:macro-id="653aebef-5c6c-480c-bb91-131b6806d67c"><ac:parameter ac:name="formName">form</ac:parameter><ac:rich-text-body><ac:structured-macro ac:name="confiform-entry-register" ac:schema-version="1" ac:macro-id="18666389-b17a-45a1-8a62-c590fb2c9e7c"><ac:parameter ac:name="type">Embedded</ac:parameter><ac:rich-text-body><p><br /></p></ac:rich-text-body></ac:structured-macro><p><ac:structured-macro ac:name="confiform-field-definition" ac:schema-version="1" ac:macro-id="98a9e0d2-3a08-4b3e-b72a-fa0dba5d88d5"><ac:parameter ac:name="fieldName">summary</ac:parameter><ac:parameter ac:name="fieldLabel">Summary</ac:parameter><ac:parameter ac:name="type">text</ac:parameter><ac:parameter ac:name="required">true</ac:parameter></ac:structured-macro> <ac:structured-macro ac:name="confiform-field-definition-rules" ac:schema-version="1" ac:macro-id="afc71d5e-ee67-4f52-b60c-47eb1ab85ea8"><ac:parameter ac:name="condition">!summary:[empty]</ac:parameter><ac:parameter ac:name="fieldName">jiraKey=[entry.issues.key]</ac:parameter><ac:parameter ac:name="values">/rest/api/2/search/jql?fields=key&maxResults=1&jql=project%3D%22TEST%22%20AND%20summary~[entry.summary.urlencode]</ac:parameter><ac:parameter ac:name="action">Lookup and set WS value</ac:parameter><ac:parameter ac:name="actionFieldName">summary</ac:parameter><ac:parameter ac:name="values2">d6b280630721f43c2f474f73f46b5cf4</ac:parameter></ac:structured-macro></p><p><ac:structured-macro ac:name="confiform-field-definition" ac:schema-version="1" ac:macro-id="ac2645d7-ca8d-48c8-8e12-a6041a21057f"><ac:parameter ac:name="fieldName">jiraKey</ac:parameter><ac:parameter ac:name="fieldLabel">Jira issue</ac:parameter><ac:parameter ac:name="extras">vertuna cloud</ac:parameter><ac:parameter ac:name="type">jira</ac:parameter></ac:structured-macro></p><p><br /></p></ac:rich-text-body></ac:structured-macro><p><br /></p>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Alex , I tried using the storage format, since my organisation haven't enabled Webservice Connection ,so the confi forms rules "could not find any configured WS connections to be used with Confiforms", hence the Jirakey field name doesn't return any value.
Could you please suggest any other options to return the Jirakeykey field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To query an external service you need a connection to that service. There is no other option possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.