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

4 REPLIES 4

sunilsargam
Kilo Sage

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

@AlwinJebakY 

Hope you are doing good.

Did my reply answer your question?

💡 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

VaishnaviK43271
Tera Contributor

The issue happens because Flow Designer cannot load Jira dynamic fields when the Issue Key is a dynamic value. It only loads the fields when the key is hard-coded.

Simple fix:

  1. Add a "Get Issue" step before the "Update Issue" action.

  2. Pass your dynamic Issue Key into Get Issue.

  3. In the Update Issue step, use the Issue Key from Get Issue.

This gives Flow Designer enough information (issue type/project) to load the dynamic fields. Everything will work normally after that.

Example :

  1. Step 1: Get Issue
    Issue Key → ${LookupRecord.jira_issue_key}

  2. Step 2: Update Issue
    Issue ID → ${GetIssue.issue.key}

Now Additional Fields will load normally.

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for.

Thank You