Forums

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

How to Automate existing and upcoming Jira Stories?

kumar August 5, 2024

Hi all,

 

I already asked similar question, but some info was missing. Therefore, I am asking it once again with more info.

 

I need to automate the jira process, so that if the jira issue do not/did not contain specific file attachments, that jira ticket should be rejected.

 

But trick is, the above task needs to be done for both existing jira issues and the newly created ones. 

 

Based on the rejection of jira issues, we have some more automation steps/analysis steps of the rejected jira issues.

 

I have done some research, based on my research, I have found below solutions:

- State machine based Jira Automation

- ScriptRunner using Groovy

- FAST API/Python script

But the problems is we do not want state machine based jira automation, due to that facts that there are already tons of existing jira issues, so that those issues states can not changed.

 

Therefore, I am looking for optimal solutions, which should also fit our future plan/goal.

 

If there are any AI based solutions, I am open to hear your suggestions as well.

 

Thanks in Advance

 

 

 

 

 

 

 

1 answer

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
August 5, 2024

I'd tackle this in two steps.  I call this fixing the hole in the boat before bailing out all the water.

1. A workflow condition to reject new Jira issues that do not have your required documents

Once in place this will stop any new issues that do not meet your requirements.

2. A script to look for existing Jira issues that do not have your required documents.

Step 2 can be with either Scriptrunner, REST API or even automation.  You would run this manually initially to get all existing non-compliant issues.  It can then be run periodically to ensure no new issues were missed by step 1.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events