Forums

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

Is it possible to run a .bat file and trigger a ticket in confluence?

Daniele Tomelleri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2021

I run some batch files on my windows machine that creates logs for a system.
I would like to create an interaction with confluence that every log create a page in Confluence. 

2 answers

1 vote
Brant Schroeder
Community Champion
October 21, 2021

@Daniele Tomelleri Welcome to the Atlassian community.

You would have to use the Confluence API to create a page and add any content to it.  https://developer.atlassian.com/cloud/confluence/rest/intro/

Is it possible to do, yes.  Is it possible to do the way you are executing the batch files, I am not sure.  Depending on how you are running the batches, how the output is created, etc. will dictate if you are able to utilize the API.    Since you are on Windows you could use PowerShell and accomplish this.  

0 votes
Thomas Deiler
Community Champion
October 21, 2021

Dear @Daniele Tomelleri

welcome to the community.

I totally agree to @Brant Schroeder answer. REST is extremely useful for such kind of things. Just follow my search to find more links.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events