Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Dynamic fields not loading in Jira Update Issue action when Issue ID is passed dynamically

AlwinJebakY
Tera Expert

Hi All, 

I am using the Jira Spoke - Update Issue action inside the flow designer. 
When I manually enter a Jira issue Key(example ABC-123), the dynamic fields(Additional fields) load correctly.

But when I pass the Issue ID dynamically from a previous step (for example, Lookup Record from table), Flow designer shows the following error 

AlwinJebakY_0-1765353454989.png

If hardcore the issue key everything work fine, only dynamic value fails to load.

Anybody face this issue please give the correct answer

Thanks 
Alwin Jebakumar

2 REPLIES 2

sunilsargam
Tera Guru

Hi @AlwinJebakY ,

 

Good day!!

 

The Additional input is a separate custom action which is taking the input as issue ID. 

Please make sure u r passing it as string. Try to typecast the value of your input in the flow to toString() function.

 

Thank you

Sunil Sargam

Ankur Bawiskar
Tera Patron
Tera Patron

@AlwinJebakY 

I think it's a know limitation.

I think it's because the dynamic fields are populated at design time based on the Jira issue key, and when the key is dynamic, the system cannot fetch the field schema until runtime

check this link and KB for workaround

Configuring Issue ID using a data pill disables the Additional Fields option in Flow Designer for Ji... 

Flow Designer > Jira Spoke 2.6.5 > Update Issue > Additional Fields "Add Field Value" is grey out? 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader