Forums

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

How can i count any transition, how many time that particular transition is executed??

st_shekhar May 31, 2018

i am trying to generate a report which need to show how many times the issue is re-opened, which developer was involve in that issues.

1 answer

1 vote
Deleted user May 31, 2018

Hi @st_shekhar,

Try using JIRA Misc Custom Fields add-on and add a number field which can be used for counting the number of times an issue is reopened.

Add a post-function to configure the required functionality.

Regards,

Priyanka

st_shekhar May 31, 2018

Hello @[deleted]

 

I used JIRA Misc Custom Fields add-on but i don not get to it. Its not working. Can you please share me steps or any screenshot so that it will be more easily for me. 

 

Regards, 

Shekhar Timsina

Deleted user May 31, 2018
st_shekhar May 31, 2018

Hi @[deleted] 

I used Transition Count Field.

Firstly I created custom filed i.e transition count filed in its description I used formula 

<!-- @TransitionName: transition name -->

and also associated it to the project. 

 

But while I used post function on workflow I do not found Transition Count Field. 

Can you please help me where do I missed.

 

Regards, 

Shekhar Timsina 

Deleted user June 6, 2018

Hi @st_shekhar,

Transition Count Field

  1. Create a new custom field, choosing "Transition Count Field" for its type.
  2. During step 2, in the Description field, include the transition ID (recommended) or name as described below.
  3. Re-index your data, as JIRA will kindly suggest you to.
Indicating the transition

The transition(s) should be indicated in the field description inside an html comment (so that it remains invisible when showing the field description), preceded by the following keyword: @TransitionId: or @TransitionName: (note the colon at the end). For example:

<!-- @TransitionId: transition ID -->

or

<!-- @TransitionName: transition name -->

If you use @TransitionId, you can specify a list of transition IDs, separated by commas (new in 1.2.5 and 1.5.2):

<!-- @TransitionId: transition_ID_1,transition_ID_2 -->

You can naturally include the real description of the custom field as well. For example:

This field represents the Resolver of this issue.<!-- @TransitionId: 5 --><!-- @Execution: last -->

 No configuration needs to be done at workflow post-function level.

Hope this helps!!

Regards,

Priyanka

st_shekhar June 6, 2018

Hi @[deleted]

I did same as you mentioned above . Now how can I verify is this working or not??

 

Thank You! for help :)

 

Regards, 

Shekhar

Deleted user June 6, 2018

Hi @st_shekhar,

Try to transition for which you would like to get the transition count. If the field is available on the view issue screen it's value will get displayed on the issue.

Regards,

Priyanka

st_shekhar June 6, 2018

Hi @[deleted]

 

Its showing "The field 'Transition Count' does not have value for issue IRN-54 and will not be displayed on the view issue page. Set value for that field so that it shows up."

I don't know why it is showing so?

can you please tell?

Regards,

Shekhar

Deleted user June 6, 2018

Hi @st_shekhar,

Can you please check if the transition name entered in the field description is correct? If possible can you please share the information mentioned in the field description.

Regards,

Priyanka

st_shekhar June 6, 2018

Hi @[deleted]

Please find below mentioned filed:

 <!-- @TransitionId: 71, 281, 91, 81, 101, 31, 71, 41, 221, 231 -->

 

Regards, 

Shekhar

Deleted user June 6, 2018

Hi @st_shekhar,

This seems to be fine. But, are you not able to view any value on the screen associated to the transition count field when these transitions are executed?

If possible, can you check the error log information from the server level?

Regards,

Priyanka

Suggest an answer

Log in or Sign up to answer