How to trigger script on some action?

Hello, I am trying to automate task in Jira, where if approver approves some request, I want to call script (which does export assignee name in excel file). very new to Jira so step by step answer would be highly appreciated. Thanks

2 answers

1 accepted

0 votes
Accepted answer

Frankly that looks like a bad idea.

You can always use the famous script runner and add a post function (which is nothing but java code) and do whatever you want. Generating an excel file will be tricky.

If you can lets us know what you end goal is, we might be able to help.

Hi Renjith, Thanks for your reply. I am trying to automate one of our process , where we remove all user access from TFS release branch after certain date. After that if developer requires access on that TFS branch, he/she requires to raise Jira ticket. This ticket this appoved by configuration manager in Jira and after that someone manually add that developer back again in TFS - project branch.

What I want to achieve is as soon as manager approves the Jira request, automatically that user should have been added to TFS. I have Powershell function script ready which takes username and add to TFS branch, but I am trying to figure out when it should get called and with what user. So what I am looking for is somehow Jira passes user which got approved and call powershell function by passing it as parameter.

I hope I am making sense now.


Ah that makes sense. But where is Excel coming into picture here? You just need to call the powershell script which deals with TFS, right?

Yes thats correct, I said excel because I have Powershell script ready which reads username from excel file and updates in TFS. If it can be done without excel then also its ok,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,885 views 19 22
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you