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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

JWT Conditional execution for Post function

Hi all,

I'm trying to add a post function with Jira workflow toolbox.
I want assignee to change to a certain user when transitioned to a certain workflow step (this is ok)
When I try to add a Conditional execution, I can't seem to get it working.
My conditional execution is it a ticket meets the field criteria for a Custom field.

To summarise, 

When a ticket transitions, I want Alice to be the assignee ONLY IF the ticket's custom field (Teams) = Payment Team.

Would really appreciate your help!

1 answer

1 accepted

Hi Zeynep,

first of all, you need to find out what CustomField ID the Team CustomField has in Jira. I found this out when I show the developer tools in the CustomField configuration (Firefox: press F12) and then click on the CustomField name.
In the developer tools console, I then saw that the field has the ID 10001.
In the actual PostFunction you can't use the parsing mode Logical, but the parsing mode Jira expression. The reason for this is that we do not yet support CustomFields from Advanced Roadmaps in JWT parsing mode. But it should work with Jira Expression, I have tested it with me.
As Jira expression you use the following expression:
issue.customfield_aaaaa.title == "team name".
You have to enter your CustomField-ID for aaaaa and the relevant team name for the team name.
If the whole thing does not work for you, I would like to ask you to create a ticket at https://support.decadis.net/plugins/servlet/desk/portal/37.
I hope the information will help you.

Cheers,
Frank

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

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