Even I have the same query like how to assign issue to specific user based on issue type?
I have created different workflow for that specific issuetype and went to post function but I didn't find proper query to add the condition.
Kindly give me the query to assign issue to individual user(user can be any jira user) in post function.
If you have separate workflows for each issue type then go to workflow create issue transition and add Update Issue Field postfunction, select Assignee and Value to specific user you want.
The following gives you idea:
If you have same workflow for different issue types then you have to write your own postfunction or check thomas links for fulfilling your task.
Heartly thanks for quick response.
I have updated the issue field with my name as you suggested above and created the issue but still it is assigning to Project Lead(not me).
I am sure that I am the culprit but couldn't address that problem.
I am briefing below what I want.
1. created one issue type "Support".
2. created a separete workflow for issue type support.
3. Now I will create issue by selecting issue type "Support" (assignee option is not there in the create screen).
4. after issue created it is by defalut assinging to project lead. as per above setting it should assign to me but its not.
Kindly guide me as it is bit urjent.
forget to tell, you bring the postfunction completely down after you add to transition as and try.
also don't forget to publish the draft after every thing made.
2) On your create screen, you should be able to see Assignee field. If you are not able to see the field meant, some other screen is displaying for create operation or Assignee field is removed from the Default Screen.
Contradict to Bharadwaj's answer, I had to put the "Assignee" Post Function to the top before "Creates the issue originally" in order to get the correct assignee. The following will be processed after the transition occurs 1. The Assignee of the issue will be set to NEW ASSIGNEE. 2. Creates the issue originally. 3. Re-index an issue to keep indexes in sync with the database. 4. Fire a Issue Created event that can be processed by the listeners. JIRA Version 7.1.0-OD-02-030 Build Number 71001
While you may not give them much thought, tags are an important part of any community's architecture. Tags help organize content into buckets and ensure the most relevant information is d...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs