Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use a bot user in Confiforms that replaces the current Confluence user?

Manuel_vA
Contributor
August 10, 2020

Clarifying the question

With 'current Confluence user' I mean the user who created the record and is used as the user object in the Application Link with Jira when e.g. creating Jira issues via Confiforms.

 

I have a Confiforms form that creates or edits a Jira issue in project X. At status quo all users who fill out the form have to own the Jira permissions ‘Create Issues’ and ‘Edit Issues’ in my Jira project X.

I would like to prevent that the users can create/edit the issues directly in my Jira project X. Instead I want to use a bot user in the Confiforms form that performs creating/editing the issues. So the bot user ought to serve as a “proxy”, since Confiforms ought to be the only way the users can create/edit issues and only the bot user should have the Create+Edit permissions in my Jira project X.

 

My approach

My idea was that I simply change the ‘ownedBy’-field of the Confiforms record to the bot user. Changing the 'ownedBy'-field to the bot user is no problem but creating/editing the issue still doesn’t work and leads to the error message that indicates the missing Jira project permission:

confiforms_error_edit_permission-2020-08-10.PNG

It seems there’s more metadata in the Confluence-Jira-Application-Link that needs to be adjusted to the bot user.

 

Versions:

Confluence:  6.5.16, ConfiForms:  2.12.4, Jira: 8.1.0

Confluence-Server + Jira-Server

 

 

UPDATE - 2020/08/12

I solved the above described problem by using the Webservice approach as it is perfectly described on this ConfiForms Wikipage: https://wiki.vertuna.com/display/TEST/Create+Jira+issue+with+webservice+connection

Still I'm kind of interested if I could also reach my aim by using the IFTTT option 'Create JIRA issue'. The question still is, if I'm able to change the user object in Confiforms, which Jira matches with its project permission settings, when receiving the record content via the Applicaton Link?

 

V

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events