You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
We are using Jira software. I have been testing the new Forms feature.
And I could not find a way to reopen a submitted form when the issue's status changes.
We have Jira Automation and JMWE, I can get the form properties like this
But I need to reopen this form when issue is transitioned. Any ideas?
Thanks,
Found a solution to this - you'll need to setup a few things:
1. GET request to find the global issue ID
https://<<your site here>>.atlassian.net/rest/api/2/issue/{{issue.key}}
ID: {{webResponse.body.id}}
2. PUT request to unlock the form
https://<<your site here>>.atlassian.net/gateway/api/proforma/cloudid/<<your cloud id>>/api/3/issue/{{id}}/form/<<form number>>/unlock
The form number is the order in which the form was attached, e.g. if the form was the second form attached, then this number should be 2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jennifer,
We dont have scriptrunner, we just have jmwe. Are you familiar with it? If so, could you be more specific, because I am not sure how to implement this and I have never used Rest api.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aslihan / Raphael,
This is a web request in automation. Unfortunately, I haven't used JMWE before.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this process allowing you to reopen forms for additional editing? That is the functionality my project needs for forms at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jennifer, are you suggesting to create two web requests in Automation ? One for the GET and one for the PUT ? I'm trying your solution but not sure exactly how to structure it.
Thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nevermind ! I found out how to do it.
You have to create 2 web requests one after another
1) Get
Web request URL : /rest/api/2/issue/{{issue.key}}
(dont forget the authorization in base 64 : email:apitoken)
2)Put
Web request URL :
gateway/api/proforma/cloudid/"siteid"/api/3/issue/{{webResponse.body.id}}/form/1/unlock
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So this process works to reopen forms after a customer has submitted/saved? Want to get a clear idea of what function is actually happening before I invest time into learning this and implementing it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The GET part works, but PUT is throwing a 404 error. I'm using JSM Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you correctly replace site id ?
Don't forget to select Delay execution of subsequent rule actions until we've received a response for this web request in the 1st rule also
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to Atlassian this solution works when forms were ProForma but integrating them into Jira Service Management required changes that seem to make this option not viable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This still works now, it's just that the API is slightly different compared to before - I've also realised you can pull the issue ID directly using smart values, so it saves you a second API call:
https://<<your site here>>.atlassian.net/gateway/api/proforma/cloudid/<<your cloud id>>/api/3/issue/{{issue.id}}/form/<<form number>>/unlock
The easiest way would be to open Developer Tools in your browser (F12), unlock your form and get the cloud id from the PUT request you see there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.