Hello,
We are currently evaluating JSD (server v 4.7.1) and are running into difficulties getting one of our key requirement fulfilled. That is to get the organization field automatically populated when a request is raised by a known (registered) JSD customer whether it comes from an email or from the portal. Is there any away to get this working ?
We went through several articles/suggestions but none really meets our expectations (e.g. adopt JSD Cloud version with which this "feature" is apparently available out of the box through workflow post-function, subscribe to a Jira Addon...).
Any thought ?
Thanks,
JP
Workflow changes is required.
1. You can select the appropriate workflow and go to edit option from Administration screen.
2. You can to select new status on the create transition step.
3. Go to post condition - Add post function and select the below,
Set field value (JMWE add-on) Set the value of a field to a constant value or the result of a Groovy expression or Groovy Template.
4. Select custom field Organization from drop down
5. Select value type "Groovy Expression"
6. Place the below code in the value text field,
switch (issue.getAsString("Custom Field Name")) /*example: for custom field name is "Instance" */
{
case "trackerName1" : return customfield ID ; /*Example: Integer number 11*/
case "trackerName2" : return customfield ID; /*Example: Integer number 12*/
case "trackerName3" : return customfield ID; /*Example: Integer number 13*/
case "trackerName4" : return customfield ID; /*Example: Integer number 14*/
case "trackerName5" : return customfield ID; /*Example: Integer number 15*/
case "trackerName6" : return customfield ID; /*Example: Integer number 16*/
default : return ""
}
7 Save it.
8. Publish the workflow.
Now you can create a new support request and check the same.
Refer the above working screen with organization filed updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.