Forums

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

Local post functions?

Chris Nagel April 27, 2021

It appears that workflow post functions require global admin access and there's no way I'm going to get that, so I'm wondering if there's a way, as a project admin, to tailor my workflow and add some triggers to, as a first step, add user assignments based on transitions of an issue (e.g., assign to the QA person when issue is moved into one of the QA states)?

I've searched for this capability or equivalent but haven't found it so I created a feature request, but on the off chance that I've missed something, I thought I'd post here.

3 answers

2 accepted

1 vote
Answer accepted
Jakob KN
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.
April 27, 2021

As others have mentioned, you'll need Jira Admin permissions to create post functions. 

But, Atlassian recently acquired the add-on Automation for Jira, which is automations that can have various triggers, for example transitions. As far as i remember, it's included in Cloud instances and can be installed for free in server/DC instances. 

Automation for Jira is available to Project admins, and you'll most likely be able to resolve whichever needs you have with this, instead of using workflow post functions.

Rob Horan
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.
April 27, 2021

That's assuming they're on Cloud.  The hosting type is unknown.

Jakob KN
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.
April 27, 2021

Correct, if they're not on cloud their Jira Admin have to install the add-on if they don't have it already. 

Just checked, and the Automation for Jira unfortunately is only free for Cloud users. 
However, if the Jira Admins don't have time or for some reason are unwilling to work with post functions, maybe they'd be open to getting the Automation add-on and hand over some of the responsibilities to the project admins.

Chris Nagel April 27, 2021

Apparently my response to Trudy didn't post. I'm pretty sure we're using an on-premise instance.  There's a user called "Automation" in a lot of our imported Issues, so maybe that add-on is installed.

Assuming it is, can you give me the detailed steps they'd need to perform to give me access to the ability to automate "assign to user on workflow status x"?

Trudy Claspill
Community Champion
April 27, 2021

The home page for the Automation for JIRA documentation is here:

https://confluence.atlassian.com/automation

I'm not sure how to navigate to it on JIRA Server, but I would start by looking at Project Settings for your project and checking if there is a entry named "Automation" in the navigation pane.

Like Chris Nagel likes this
Jakob KN
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.
April 28, 2021

If Automation is available in your Jira Server/DC instance and you have project admin permissions, you can access it as follows:

1- Go to your project
2- Click "Project Settings" (cog in the lower-left corner)
3- Find "Project Automation" on the list at the left side of your screen (in my instance, it's the 3rd to last on the list)

If you have the Project Automation available, you should be able to create a new rule with "Issue Transitioned" as trigger, allowing you to edit issues that goes trough a specific transition.

Like Chris Nagel likes this
Chris Nagel April 29, 2021

Thank you, Jakob.  Unfortunately, the admin team refuses to grant project admins access to Automation because they don't feel they can support questions about it.

There's really no solution other than my feature request to allow any user to script/automate simple UI tasks out-of-the-box.  Unless it's a feature of the product available to everyone, I'll never get access to it.

Jakob KN
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.
April 30, 2021

That's a bit of a shame to be honest, since it'd relieve the admin team of some of their workload and there's plenty of documentation available for project admins, apart from here in the community. 

Fingers crossed for your feature request! 
Although you might get the answer that scripting and some postfunctions are restricted, due to the potential of causing performance issues in Jira and affecting several projects apart from the one you're admin in. 
(don't get me wrong, I definitely think some postfunctions being made available would be a welcomed addition :) )

1 vote
Answer accepted
Trudy Claspill
Community Champion
April 27, 2021

Which type of JIRA hosting are you using - JIRA Server/Data Center or JIRA Cloud?

If in JIRA Cloud, are you using a Company Managed project?

Is your project using a workflow that is assigned only to your project, and not shared with other projects?

For JIRA Server/Data Center and JIRA Cloud Company Managed projects, your JIRA Administrator should be able to assist you with create a workflow that applies to only your project, and modifying that workflow to suit your projects needs (if they are willing). Project Admins do not have permission to modify the workflows in those projects.

In JIRA Cloud, project Admins have permission to modify workflows associated with Team Managed projects, but the functionality is quite a bit different in those types of projects.

Chris Nagel April 27, 2021

Judging from the URL, I think we're using an on-premise instance. However, it looks like there's just no option, even if I'm a project admin?

That's why I filed this Feature Request - automating repetitive tasks should be open to any user that can perform the tasks manually.

0 votes
Rob Horan
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.
April 27, 2021

Unfortunately, this is not something that a Project Admin can accomplish.  Full Jira administrative capabilities would be needed for this.

Chris Nagel April 29, 2021

I did not set your answer as accepted because, while it's strictly true, the curtness of the response goes against the community spirit of helping people find answers to the actual issue, not just the stated terms of the search for an answer.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events