Forums

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

How to set Assignee to currentuser based on Transition screen assignee?

Teja
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.
June 13, 2018

Hi Team,

I have set Assignee to currentuser when assignee is not specified - by 'Assign to Currentuser' post-function but at the same I need to verify two more condition to be satisfied.

Condition 1: 

when assignee is the same as the current assignee but different from the current user set assignee to current user.

Condition 2: 

when the assignee is difference from current user and different from current assignee 1. require that the user selected is role of Developer and 2. set assignee to user selected. 

How to do that using Script Runner or any post-function is fine. 

2 answers

1 accepted

1 vote
Answer accepted
Andreas
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.
June 13, 2018

Workflow Enhancer for Jira may help you to solve this.

This add-on provides universal conditions and validators that are based on a Boolean expression. Also allows for any post function to be executed based on a Boolean expression.

It's a free app.

Teja
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.
June 14, 2018

Hey @Andreas, thanks for the answer.

I used Copy a parsed text to a field Post-fun and Boolean Validator to get it worked.

Regards

Tejas

Andreas
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.
June 15, 2018

Great job, @Teja!

Happy that this worked out for you. I'll mark this as resolved.

0 votes
Redfox
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!
March 18, 2020

For me it's stiil not work((

Andreas
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.
March 24, 2020

Welcome to the community @Redfox .

Please be a bit more specific and provide more background information.

Are you using JIRA server or JIRA cloud?

Did you install the Workflow Enhancer for Jira plugin? 

Can you provide e.g. a screenshot from your screen showing the available options when configuring the conditions of a workflow transition?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events