How to update Jira issue through confiform?
Asked by SP:

Form created to submit jira issue, but looking to modify the jira issue in the same page for the records


Answers:
author: Alex Medved _ConfiForms_
body: You can update Jira issue from ConfiForms, you just need to know the issue key (store it with your record).

<https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions#ConfiguringConfiFormsIFTTTactions-UpdateJiraIssue>

comments: author: SP
body: Thanks [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)


author: SP
body: How to delete jira issue from confiform?


author: Alex Medved _ConfiForms_
body: Setting up a call to Jira REST API that deletes the issue (<https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/issue-deleteIssue>) via Applink Service IFTTT action

<https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions#ConfiguringConfiFormsIFTTTactions-ApplinkService>


author: SP
body: Thanks [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

it worked


author: Nancy Bonanno
body: This link doesn't work anymore? Is there a better one than this? <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions#ConfiguringConfiFormsIFTTTactions-UpdateJiraIssue>

We definitely need to access existing Jira tickets to modify them with Confiforms.


author: Alex Medved _ConfiForms_
body: Hi,

The functionality is still there.

But it is true that the link has changed - <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-UpdateJiraIssue>

Sorry about that

Alex


author: SP
body: [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

<https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions#ConfiguringConfiFormsIFTTTactions-UpdateJiraIssue>

I tried to update JIRA status didn't work.

comments: author: Alex Medved _ConfiForms_
body: And what exactly did not work? Any error message you have seen? Could you share what JSON you have tried to post? And does it work when you use it outside ConfiForms (Jira REST API)?


author: SP
body: Outside Confiform, i used JIRA api to change the Issue Status ( Perfectly Working )

https://testjirahost/jira/rest/api/latest/issue/12345/transitions?expand=transitions.fields

body: {"transition": {"id": "41" }}

through Confiform, it not working and there is no error on the page.

Below is the code/value am using in IFTTT

"status": { "name": "Backlog" }


author: Alex Medved _ConfiForms_
body: Well, transitions are not UPDATE to jira issue! This a completely different API, see yourself

This can be invoked through "AppLink Service"


author: SP
body: Yeah, that's what am trying to use AppLinkService, but not sure how to use transition id in there

if you have any reference example, that would be nic.


author: SP
body: Is that possible to help on other request as well?

<https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-do-i-set-Confiform-dropdown-values-when-choose-from-other/qaq-p/1406291#M71903>


author: SP
body: URL: https://testjirahost/jira/rest/api/latest/issue/12345

ERROR: com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, Status: 405 with message: and response: ''

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/99014i4A70E6FAC9370DF6/image-size/large?v=v2&px=999 "image.png")


author: Alex Medved _ConfiForms_
body: You are missing the "No Format" macro to put your JSON contents

Also, see how the transitions API should be executed as per documentation <https://docs.atlassian.com/software/jira/docs/api/REST/8.5.5/#api/2/issue-doTransition>

This is really has nothing to do with ConfiForms... ConfiForms here is just the way to pass the request to Jira... please see the documentation for Jira REST API.


author: SP
body: [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

AppLinkService with below format worked.

https://testjirahost/jira/rest/api/latest/issue/12345/transitions?expand=transitions.fields

IFTTT rule with NO Format

{"transition": {"id": "41" }}


Tags: confluence-server

server