Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Consider approved after setting the approval number dinamicaly

Hi,

I was wondering, is there a way to set the "Consider approval after" value in a Service Desk's Approval workflow configuration based on i.e. the request type by using Scriptrunner

So if it is request type A, set 5 approvals needed else let it be 10, or All?

1 answer

1 accepted

1 vote
Answer accepted

hey @Marko Slijepcevic ,

i'm afraid that won't be possible as it would require changing your workflow (which is linked to the entire issue type) on the fly.

You might consider looking in to an app to do this such as Group sign-off or Advanced issue acceptance 

https://marketplace.atlassian.com/search?hosting=server&product=jira-service-management&query=approval

Just brainstorming here but 

otherwise using scriptrunner you might need to build a complex process such as iterating over the same status and using a custom field where you do a count based on the number of status transitions?

Scriptrunner could then help in auto transitioning the issue to the correct status.

I'm afraid I have to give you right on this one

"build a complex process such as iterating over the same status and using a custom field (...)" this seems to be the only way, I hoped to avoid doing something like this since it can become an overkill.

Thanks for your reply!

Dirk Ronsmans Community Leader Feb 24, 2021

I'm still hoping for a day when Jira has a sub-workflow based on a request type where you can define this sub process but sadly not here yet.. (and no idea if it ever will arrive).

Like Marko Slijepcevic likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

528 views 15 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you