How to create/ update issue in Jira from flow designer after creating/updating record??

KM SN
Tera Expert


I got a requirement to do integration between SN and Jira that we are doing with Jira spoke.

 If change request is created/Updated need to check the record is available in Jira if it is available it has to be updated if not it has to create new issue.

is this can be done in one flow?? 

 

2 REPLIES 2

amaradiswamy
Kilo Sage

Yes, it's possible. But, main point to check is whether you are maintaining the Jira Issue ID in change request table or not. 

 

If we have "Jira Issue ID" then in a flow you can check like below

 

Flow: 

Table -- change request

trigger -- record inserted or created

Flow steps:

1. Get Jira Issue ID

2. Call "Look up issue" custom action

3. Based on output form above action you can call Create Issue or Update Issue custom action in the flow

 

If you can see down in images to use action output I am not getting action status but as below when I run the flow its showing error Id should not be empty because when i created a new record ID wont be there and for look up as there is no id it might be showing this error.(subject to correction).

Note: How can we have Jira issue id in change request when it is new request? seems that's what the issue right? If it doesn't work then we need to have two flow then

 

one is for creating issue in Jira and getting back them to change and another is to update the issue if it is updated in SN. but i wanted to have in one flow itself??

 

ManiHouse1_0-1716459853816.png

 

ManiHouse1_1-1716460010104.png

 

 

ManiHouse1_2-1716460032547.png