Forums

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

Automation between windows scripts and JIRA & Confluence

Atlassianist
Contributor
June 1, 2023

Hello

We would like to develop a solution where changes are made in JIRA and Confluence by executing an external Windows script.

Example:
1. a department creates a file on the file server.
2. the content of the file is checked and the automation creates a JIRA ticket and changes a certain confluence page.
3. The JIRA ticket is assigned to a specific user as "editor" and another user receives an email about the change to the Confluence page.
4. When the editor has edited the JIRA ticket, a status change is made, which results in certain AD groups being created on the domain controller and permissions being granted.

If I see correctly a part of the steps could be solved with REST API (#2) or JIRA Automation (#3) To automate the entire "chain" we need likely Scriptrunner both for JIRA and Confluence, correct?

Do we see it correctly or there are other options as well?

Thank you for a short confirmation.

Best regards

I.

1 answer

0 votes
Tim Perrault
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2023

From the looks of it, for 1-3, you should be able to accomplish everything with REST API and then once the ticket is in JIRA, JIRA Automation should be able to do the rest.

This link should be helpful. It should at least give you a good start.

 

The last part, step 4. I am not sure how you would accomplish adding groups to the domain controller and granting permissions from a status update. You would have to send out a notification that would prompt something outside of jira to take care of that.

Atlassianist
Contributor
June 1, 2023

Ok, Thank you very much. 

We will have to check the details. If the the process is more faster and the maintenance is easier, it can make sense to invest in a general, unified solution like ScriptRunner

At our size it can be fiddly if a part is done with rest and an other part with automation.

I will have to check which option bring the best results at which "expense" (Money and time)

Regards

I.

Suggest an answer

Log in or Sign up to answer