- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2024 01:23 PM - edited 07-23-2024 01:47 PM
I have a flow with Jira - Create Issue action. I am using scripts to set the project key, issue type, summary, additional fields etc.
In my additional fields, I have some json script like this..
var additionalFields = {
"fields": {
"labels": "TEST Label",
"components": "TEST Component"
}
};
var jsonSTR = JSON.stringify(additionalFields);
return jsonSTR;
when I run the test, response body is not having the additional fields populated. Can someone help me here? Not sure if my approach is right.
I want additional fields to show up in response body, and populate the values in Jira.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 10:17 AM
This was the response from ServiceNow Support and it solved the issue with additional fields.
KB0818189 - Additional Fields are greyed out when you configure Project/Issue ID with a script in "Create Issue" or "Update Issue" action in Flow Designer for Jira Spoke
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0818189
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 07:24 AM
Hi @Rajini2 ,to populate additional fields, you will have to create custom action. Please refer to below video.
https://www.youtube.com/watch?v=Vqthvk2nIEA&t=546s
Regards,
Sandeep Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 10:17 AM
This was the response from ServiceNow Support and it solved the issue with additional fields.
KB0818189 - Additional Fields are greyed out when you configure Project/Issue ID with a script in "Create Issue" or "Update Issue" action in Flow Designer for Jira Spoke
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0818189
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
data pill picker not available for addtional fields of create issue type, only inline script is there for me